Skip to content

Commit afc95ca

Browse files
committed
Now uses the standard way to disable the default help command. Resolves #43
1 parent 7322db4 commit afc95ca

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Teapot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
intents = discord.Intents.default()
8787
intents.members = True
8888
intents.typing = False
89-
bot = dcmd.Bot(intents=intents, command_prefix=teapot.config.bot_prefix())
89+
bot = dcmd.Bot(intents=intents, command_prefix=teapot.config.bot_prefix(), help_command=None)
9090

9191
@bot.event
9292
async def on_ready():

teapot/cogs/cmds.py

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ def __init__(bot):
2020

2121

2222
def helpcmd(bot):
23-
bot.remove_command('help')
2423

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

0 commit comments

Comments
 (0)