From 452d9dba574dcfb1ab32888798585c4c1e53167b Mon Sep 17 00:00:00 2001 From: sgoudham Date: Thu, 17 Sep 2020 11:16:47 +0100 Subject: [PATCH] Making sure that compliment command has the right name and aliases --- cogs/fun.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cogs/fun.py b/cogs/fun.py index f33cbc38..09e45f5c 100644 --- a/cogs/fun.py +++ b/cogs/fun.py @@ -127,7 +127,7 @@ class Fun(Cog): # Sending out a random insult from the array "responses" await ctx.send(random.choice(responses)) - @command(name="comp") + @command(name="compliment", aliases=["comp"]) async def compliment(self, ctx, member: Member): """Give Compliments to Members""" @@ -477,13 +477,11 @@ class Fun(Cog): attach = await attachments.read() image = Image.open(io.BytesIO(attach)).convert('LA') - # Save new grayscale image as bytes file = io.BytesIO() image.save(file, format='PNG') file.seek(0) await ctx.message.delete() - # Send Grayscale Image await ctx.send(file=discord.File(file, "gs.png")) else: