Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

Commit 7bf78f5

Browse files
authored
fixed message sendding
1 parent ab5a930 commit 7bf78f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord_message_components/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ async def send(self, channel, content=MISSING, *, tts=False, embed=MISSING, embe
672672
else:
673673
r = await send_files(route, files=files or [file], payload=payload, http=self._discord.http)
674674

675-
msg = Message(state=self._discord._get_state(), channel=self, data=r)
675+
msg = Message(state=self._discord._get_state(), channel=channel, data=r)
676676

677677
if delete_after is not None:
678678
await msg.delete(delay=delete_after)

0 commit comments

Comments
 (0)