We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16e8300 commit d99ef79Copy full SHA for d99ef79
1 file changed
cogs/events.py
@@ -419,7 +419,7 @@ async def channel_spam_check(self, message: discord.Message):
419
420
@commands.Cog.listener()
421
async def on_message(self, message: discord.Message):
422
- if message.guild is None or message.author.bot:
+ if message.guild is None or message.author.bot or message.type is discord.MessageType.auto_moderation_action:
423
return
424
if not self.bot.IS_DOCKER:
425
if message.author.name == "GitHub" and message.author.discriminator == "0000":
0 commit comments