From 20716d0775dac91065e9ba638536f40ba3508929 Mon Sep 17 00:00:00 2001 From: Purpur <43528123+Pemigrade@users.noreply.github.com> Date: Sun, 10 Jan 2021 04:54:51 -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 a8b40cb..ec9ed19 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 != self.user and message.guild == None: + if message.author != self.bot.user and message.guild == None: channel = message.channel await channel.send("Processing, please wait...") # Potential API key, so tries it out