We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68fa13a commit 8d72b79Copy full SHA for 8d72b79
core/thread.py
@@ -658,7 +658,7 @@ async def delete_message(
658
await asyncio.gather(*tasks)
659
660
async def find_linked_message_from_dm(self, message, either_direction=False):
661
- if either_direction and message.embeds:
+ if either_direction and message.embeds and message.embeds[0].author.url:
662
compare_url = message.embeds[0].author.url
663
compare_id = compare_url.split("#")[-1]
664
else:
0 commit comments