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 4d20da4 commit 10b4fc1Copy full SHA for 10b4fc1
core/thread.py
@@ -92,7 +92,7 @@ async def close(self, *, closer, after=0, silent=False, delete_channel=True, mes
92
em.description = message or f'{closer.mention} has closed this modmail thread.'
93
em.color = discord.Color.red()
94
95
- if not silent:
+ if not silent and self.recipient is not None:
96
tasks.append(self.recipient.send(embed=em))
97
98
if delete_channel:
0 commit comments