From 3d1730fd63bd6829099e299dc3c70fc1003ee7c4 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Tue, 30 Jun 2020 03:45:26 +0100 Subject: [PATCH] Adding names for the commands --- cogs/AnimeImages.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cogs/AnimeImages.py b/cogs/AnimeImages.py index d5f3c05b..5fd391cd 100644 --- a/cogs/AnimeImages.py +++ b/cogs/AnimeImages.py @@ -122,9 +122,9 @@ class Waifus(commands.Cog): self.bot = bot # Bot ~ensoPerson command for the server members - @command(aliases=['enso']) + @command(name="enso", aliases=['Enso']) @cooldown(1, 1, BucketType.user) - async def ensoperson(self, ctx, name=None): + async def enso_person(self, ctx, name=None): # Defining array of all the people that have images stored in the bot array = ['hammy', 'hussein', 'inna', 'kaiju', 'kate', @@ -206,9 +206,9 @@ class Waifus(commands.Cog): await message.delete() # Bot ~w/waifu command for the waifu's stored in the bot - @command(aliases=['W']) + @command(name="w", aliases=['W']) @cooldown(1, 1, BucketType.user) - async def w(self, ctx, waifu=None): + async def waifu(self, ctx, waifu=None): # Defining array for the list of waifus available waifu_array = ["toga", "yumeko", "maki"] @@ -258,9 +258,9 @@ class Waifus(commands.Cog): await ctx.send(embed=embed) # Bot ~h/husbando command for the husbando's stored in the bot - @command(aliases=['H']) + @command(name="h", aliases=['H']) @cooldown(1, 1, BucketType.user) - async def h(self, ctx, husbando=None): + async def husbando(self, ctx, husbando=None): # Defining array for the list of husbando's available husbando_array = ["husk", "kakashi", "tamaki"]