Skip to content

Commit 10b4fc1

Browse files
committed
Quick fix
1 parent 4d20da4 commit 10b4fc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/thread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ async def close(self, *, closer, after=0, silent=False, delete_channel=True, mes
9292
em.description = message or f'{closer.mention} has closed this modmail thread.'
9393
em.color = discord.Color.red()
9494

95-
if not silent:
95+
if not silent and self.recipient is not None:
9696
tasks.append(self.recipient.send(embed=em))
9797

9898
if delete_channel:

0 commit comments

Comments
 (0)