Created new file called help.py to store the help command which is a reaction menu

pull/4/head
sgoudham 4 years ago
parent ebc457bf94
commit f65d0d6d08

@ -173,7 +173,7 @@ def stop_embed(self):
enso_name = self.bot.user.display_name enso_name = self.bot.user.display_name
# Set up the Embed to display when the user reacts with the stop reaction # Set up the Embed to display when the user reacts with the stop reaction
misc_commands = Embed(title="**Help Commands Embed Closed!**", misc_commands = Embed(title="**help Commands Embed Closed!**",
colour=Colour(0xFF69B4), colour=Colour(0xFF69B4),
timestamp=datetime.datetime.utcnow()) timestamp=datetime.datetime.utcnow())
@ -278,7 +278,7 @@ class ReactionMenu(commands.Cog):
self.bot.remove_command("help") self.bot.remove_command("help")
# ~help command that returns a menu for help commands controlled by reactions # ~help command that returns a menu for help commands controlled by reactions
@command(name="help", aliases=["Help"]) @command(name="help", aliases=["help"])
async def help(self, ctx): async def help(self, ctx):
# Local Variable i to allow the index of the pages[] to be modified # Local Variable i to allow the index of the pages[] to be modified
i = 0 i = 0
Loading…
Cancel
Save