From 67027e5f0feab3db3a9a93f9fe7a5739d2422909 Mon Sep 17 00:00:00 2001 From: bmintz Date: Fri, 17 Aug 2018 07:13:38 +0000 Subject: [PATCH] cogs/emote: add some aliases --- cogs/emote.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cogs/emote.py b/cogs/emote.py index 48d6cc0..2b7dd49 100644 --- a/cogs/emote.py +++ b/cogs/emote.py @@ -206,7 +206,7 @@ class Emotes: image=image_data.read(), reason=reason) - @commands.command() + @commands.command(aliases=('delete', 'delet', 'rm')) async def remove(self, context, *names): """Remove an emote from this server. @@ -220,7 +220,7 @@ class Emotes: for name in names: await context.invoke(self.remove, name) - @commands.command() + @commands.command(aliases=('mv',)) async def rename(self, context, old_name, new_name): """Rename an emote on this server. @@ -239,7 +239,7 @@ class Emotes: await context.send(f'Emote \:{old_name}: successfully renamed to \:{new_name}:') - @commands.command() + @commands.command(aliases=('ls',)) async def list(self, context): """A list of all emotes on this server.