Skip to content

Commit

Permalink
Fix replies in dms not being sent (modmail-dev#3239)
Browse files Browse the repository at this point in the history
* Fix replies not being sent

* Use a list instead of a set

---------

Co-authored-by: Taku <[email protected]>
  • Loading branch information
2 people authored and raidensakura committed Apr 10, 2024
1 parent 6807f6e commit 0277831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ async def process_dm_modmail(self, message: discord.Message) -> None:
return
sent_emoji, blocked_emoji = await self.retrieve_emoji()

if message.type != discord.MessageType.default:
if message.type not in [discord.MessageType.default, discord.MessageType.reply]:
return

thread = await self.threads.find(recipient=message.author)
Expand Down

0 comments on commit 0277831

Please sign in to comment.