From 2d05e97bf8eff8f637405f16b7fe57c36ae69e8c Mon Sep 17 00:00:00 2001 From: Thomas Voss <57815710+Mango0x45@users.noreply.github.com> Date: Fri, 5 Jun 2020 01:16:28 +0200 Subject: Update utils.py --- cogs/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cogs/utils.py') diff --git a/cogs/utils.py b/cogs/utils.py index 508a3b0..e327dd2 100644 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -250,7 +250,7 @@ class Utils(commands.Cog): @commands.command() async def someone(self, ctx): - if ctx.message.author == self.bot.get_user(395872198323077121): + if ctx.author == self.bot.get_user(395872198323077121): await ctx.send("grape fuck u") else: await ctx.send(choice(ctx.guild.members).mention) -- cgit v1.2.3