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 3bb76e8 commit 0acfc2cCopy full SHA for 0acfc2c
bot.py
@@ -386,15 +386,7 @@ async def process_modmail(self, message):
386
except (discord.HTTPException, discord.InvalidArgument):
387
pass
388
389
- blocked_em = discord.Embed(
390
- title='Message not sent!',
391
- color=discord.Color.red(),
392
- description='You have been blocked from using Modmail.'
393
- )
394
-
395
- if str(message.author.id) in self.blocked_users:
396
- await message.author.send(embed=blocked_em)
397
- else:
+ if str(message.author.id) not in self.blocked_users:
398
thread = await self.threads.find_or_create(message.author)
399
await thread.send(message)
400
0 commit comments