Skip to content

Commit

Permalink
Now uses the standard way to disable the default help command. Resolves
Browse files Browse the repository at this point in the history
  • Loading branch information
ColaIan committed May 28, 2021
1 parent 7322db4 commit afc95ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Teapot.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
intents = discord.Intents.default()
intents.members = True
intents.typing = False
bot = dcmd.Bot(intents=intents, command_prefix=teapot.config.bot_prefix())
bot = dcmd.Bot(intents=intents, command_prefix=teapot.config.bot_prefix(), help_command=None)

@bot.event
async def on_ready():
Expand Down
1 change: 0 additions & 1 deletion teapot/cogs/cmds.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def __init__(bot):


def helpcmd(bot):
bot.remove_command('help')

@bot.command(aliases=['?'])
async def help(ctx, *cog):
Expand Down

0 comments on commit afc95ca

Please sign in to comment.