Skip to content

Commit

Permalink
Fix replies in dms not being sent (#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 <45324516+Taaku18@users.noreply.github.com>
  • Loading branch information
RealCyGuy and Taaku18 authored Mar 14, 2023
1 parent d6eba12 commit f2a434b
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 f2a434b

Please sign in to comment.