From 888b66102a0ea09cfbeac72b3dbe0643ced7f041 Mon Sep 17 00:00:00 2001 From: Matthias Nadler Date: Sat, 29 Jun 2019 20:30:40 +0200 Subject: [PATCH] fix @mention bug --- cogs/help.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cogs/help.py b/cogs/help.py index d32c128..4fe22c8 100644 --- a/cogs/help.py +++ b/cogs/help.py @@ -260,6 +260,9 @@ class Help(commands.Cog): # @mention and @debug commands @commands.Cog.listener() async def on_message(self, message): + if message.author == self.bot.owner: + return + if message.content.startswith("@mention"): channel = message.channel if not isinstance(channel, discord.TextChannel):