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 0d02e79 commit 82494adCopy full SHA for 82494ad
bot.py
@@ -677,6 +677,8 @@ async def on_raw_reaction_add(self, payload):
677
if not self.config.get('disable_recipient_thread_close'):
678
await thread.close(closer=user)
679
elif not isinstance(channel, discord.DMChannel):
680
+ if not message.embeds:
681
+ return
682
message_id = str(message.embeds[0].author.url).split('/')[-1]
683
if message_id.isdigit():
684
thread = await self.threads.find(channel=message.channel)
0 commit comments