Removed the "remove default help command" and relocated it to HelpMenu.py

pull/4/head
sgoudham 4 years ago
parent e13f037f1b
commit 4d4cec8b66

@ -17,8 +17,6 @@ client = commands.Bot( # Create a new bot
command_prefix="~", # Set the prefix
description='Ensō~Chan!', # Set a description for the bot
owner_id=154840866496839680) # Your unique User ID
# Removes the default help command
client.remove_command('help')
# Calls the cogs from the settings.py file and loads them
if __name__ == '__main__':

@ -274,6 +274,8 @@ class HelpMenu(menus.Menu):
class ReactionMenu(commands.Cog):
def __init__(self, bot):
self.bot = bot
# Remove default help command
self.bot.remove_command("help")
# ~help command that returns a menu for help commands controlled by reactions
@command(name="help", aliases=["Help"])

Loading…
Cancel
Save