diff options
author | Thomas Voss <57815710+Mango0x45@users.noreply.github.com> | 2020-06-04 23:17:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-04 23:17:46 +0000 |
commit | 5b95dc7485c100ca199ae0af86f3a685d3343d76 (patch) | |
tree | 834c54f2b39487a87d1866bd3d69239cefa09c3e /cogs | |
parent | 2d05e97bf8eff8f637405f16b7fe57c36ae69e8c (diff) | |
download | steve-bot-5b95dc7485c100ca199ae0af86f3a685d3343d76.tar steve-bot-5b95dc7485c100ca199ae0af86f3a685d3343d76.tar.gz steve-bot-5b95dc7485c100ca199ae0af86f3a685d3343d76.tar.bz2 steve-bot-5b95dc7485c100ca199ae0af86f3a685d3343d76.tar.lz steve-bot-5b95dc7485c100ca199ae0af86f3a685d3343d76.tar.xz steve-bot-5b95dc7485c100ca199ae0af86f3a685d3343d76.tar.zst steve-bot-5b95dc7485c100ca199ae0af86f3a685d3343d76.zip |
Update utils.py
Diffstat (limited to 'cogs')
-rw-r--r-- | cogs/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |