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 7c82316 commit 4587171Copy full SHA for 4587171
core/thread.py
@@ -735,7 +735,7 @@ async def send(
735
else:
736
embed.set_footer(text=self.bot.config["anon_tag"])
737
delete_message = not bool(message.attachments)
738
- if delete_message and isinstance(destination, discord.TextChannel):
+ if delete_message and destination == self.channel:
739
try:
740
await message.delete()
741
except Exception as e:
0 commit comments