We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b905d5c commit e77c198Copy full SHA for e77c198
discord/interactions.py
@@ -475,7 +475,7 @@ async def send_message(
475
file: File = None,
476
files: List[File] = None,
477
delete_after: float = None
478
- ) -> None:
+ ) -> Interaction:
479
"""|coro|
480
481
Responds to this interaction by sending a message.
@@ -600,7 +600,7 @@ async def delete():
600
await asyncio.sleep(delete_after)
601
await self._parent.delete_original_message()
602
asyncio.ensure_future(delete(), loop=self._parent._state.loop)
603
-
+ return self._parent
604
605
async def edit_message(
606
self,
0 commit comments