Skip to content

Commit d07a489

Browse files
committed
Fix small bug with scheduled closing
1 parent 37713fb commit d07a489

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
@@ -669,7 +669,7 @@ async def find(
669669
self.bot.modmail_guild.text_channels, topic=f"User ID: {recipient_id}"
670670
)
671671
if channel:
672-
thread = Thread(self, recipient, channel)
672+
thread = Thread(self, recipient or recipient_id, channel)
673673
self.cache[recipient_id] = thread
674674
thread.ready = True
675675
return thread

0 commit comments

Comments
 (0)