From 5b95dc7485c100ca199ae0af86f3a685d3343d76 Mon Sep 17 00:00:00 2001 From: Thomas Voss <57815710+Mango0x45@users.noreply.github.com> Date: Fri, 5 Jun 2020 01:17:46 +0200 Subject: Update utils.py --- cogs/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cogs/utils.py') diff --git a/cogs/utils.py b/cogs/utils.py index e327dd2..1ed24fc 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): - if ctx.author == self.bot.get_user(395872198323077121): + async def someone(self, ctx, message): + if ctx.message.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