From 93f161ddc9021e2abf889b679635db870f9de5c6 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..61b64fc 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.ownner: + return + if message.content.startswith("@mention"): channel = message.channel if not isinstance(channel, discord.TextChannel):