From a56c9c76243f7b333a9b732f23d734d78a989a27 Mon Sep 17 00:00:00 2001 From: Thomas Voss <57815710+Mango0x45@users.noreply.github.com> Date: Fri, 5 Jun 2020 01:19:56 +0200 Subject: Update utils.py --- cogs/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cogs') diff --git a/cogs/utils.py b/cogs/utils.py index 1ed24fc..812963c 100644 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -249,8 +249,8 @@ class Utils(commands.Cog): # And replaced with import randint from random @commands.command() - async def someone(self, ctx, message): - if ctx.message.author == self.bot.get_user(395872198323077121): + async def someone(self, ctx): + if ctx.message.author.id == '395872198323077121': await ctx.send("grape fuck u") else: await ctx.send(choice(ctx.guild.members).mention) -- cgit v1.2.3