Answer the question
In order to leave comments, you need to log in
How to remove the help command?
I wanted to make a help command, but the command is already there. What if you want to make your help and delete the old one? Here is the code:
import discord
from discord.ext import commands
from config import settings
bot = commands.Bot(command_prefix = settings['prefix'])
@bot.command()
async def hello(ctx):
author = ctx.message.author
await ctx.send(f'Привет!, {author.mention}!')
@bot.command()
async def status(ctx):
await ctx.reply('Я жив!')
bot.run(settings['token'])
Answer the question
In order to leave comments, you need to log in
bot.remove_command('help')
Write after
bot = commands.Bot(command_prefix = settings['prefix'])
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question