From 70cbb8540272b036f3c62ded96eea456e48a2292 Mon Sep 17 00:00:00 2001 From: Terry Hearst Date: Sun, 18 Sep 2022 22:15:34 -0400 Subject: [PATCH] Shorten addcommand and removecommand to addcmd and removecmd --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 193aa26..b8565e5 100644 --- a/bot.py +++ b/bot.py @@ -59,7 +59,7 @@ class Bot(commands.Bot): await ctx.send(response.strip()) @commands.command() - async def addcommand(self, ctx: commands.Context): + async def addcmd(self, ctx: commands.Context): # Lets moderators add custom text responses if not ctx.author.is_mod: await ctx.send("lmao nice try ur not a mod") @@ -83,7 +83,7 @@ class Bot(commands.Bot): await ctx.send(f"Adding command: \"{PREFIX}{command_name}\" -> \"{command_text}\"") @commands.command() - async def removecommand(self, ctx: commands.Context): + async def removecmd(self, ctx: commands.Context): if not ctx.author.is_mod: await ctx.send("lmao nice try ur not a mod") return