Skip to content

Commit 42d2ae4

Browse files
Update discord/commands/context.py
Co-authored-by: Dorukyum <[email protected]>
1 parent 701c7a6 commit 42d2ae4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

discord/commands/context.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ def respond(self):
141141

142142
@property
143143
async def send_response(self) -> Callable[..., Union[Interaction, Webhook]]:
144-
"""Callable[..., Union[:class:`~.Interaction`, :class:`~.Webhook`]]: Sends either a response or a followup response depending if the interaction has been responded to yet or not.
144+
"""Callable[..., Union[:class:`~.Interaction`, :class:`~.Webhook`]]: Sends either a response
145+
or a followup response depending if the interaction has been responded to yet or not."""
145146
if not self.response.is_done():
146147
return self.interaction.response.send_message # self.response
147148
else:

0 commit comments

Comments
 (0)