From 5cde17a380631e93bcc33a418e64dfcf546e2862 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Fri, 19 Jun 2020 20:42:52 +0100 Subject: [PATCH] Added more commentary of the code --- cogs/HelpCommands.py | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/cogs/HelpCommands.py b/cogs/HelpCommands.py index dd6ff933..28e767a2 100644 --- a/cogs/HelpCommands.py +++ b/cogs/HelpCommands.py @@ -11,7 +11,7 @@ class CustomHelp(commands.Cog): self.bot = bot # ~help command allows the user to look at the list of commands - @commands.command(aliases="Help") + @commands.command(aliases=["Help"]) async def help(self, ctx): # Allowing the bot to dm the user @@ -73,6 +73,18 @@ class CustomHelp(commands.Cog): "\n Allows the user to slap someone in the server" + "\n *(Perms: Everyone)*", inline=True) + embed.add_field( + name="\u200b", + value="**➳ ~kill**" + + "\n Allows the user to kill someone in the server" + + "\n *(Perms: Everyone)*", + inline=True) + embed.add_field( + name="\u200b", + value="**➳ ~pat**" + + "\n Allows the user to pat someone in the server" + + "\n *(Perms: Everyone)*", + inline=True) embed.add_field( name="\u200b", value="**➳ ~compliment**" + @@ -293,7 +305,7 @@ class CustomHelp(commands.Cog): print(e) # ~roles command allows for an embed message about roles - @commands.command() + @commands.command(aliases=["Roles"]) async def roles(self, ctx): # Allowing the bot to dm the user