From 1c629071012b96ce12767ac1b50472209f0fe00b Mon Sep 17 00:00:00 2001 From: Purpur <43528123+Pemigrade@users.noreply.github.com> Date: Sun, 10 Jan 2021 04:52:52 -0600 Subject: [PATCH] Update linking.py --- cogs/linking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/linking.py b/cogs/linking.py index 9d73e56..a8b40cb 100644 --- a/cogs/linking.py +++ b/cogs/linking.py @@ -16,7 +16,7 @@ class Linking(commands.Cog): self.bot = bot async def link_account(self, message): - if message.author != bot.user and message.guild == None: + if message.author != self.user and message.guild == None: channel = message.channel await channel.send("Processing, please wait...") # Potential API key, so tries it out