bot.remove_command(help)
@bot.command(pass_context= True)
@commands.has_permissions(administrator= False)
async def help(ctx):
embed = discord.Embed(title="Команды", color=0x2f38b1)
embed.add_field(name="*cat", value="Показать кота", inline=True)
embed.add_field(name="*ban", value="Для админов", inline=True)
embed.add_field(name="*kick", value="Для админов", inline=True)
embed.set_footer(text="Kilka21#5529 (C)")
await ctx.send(embed=embed)
iscord.ext.commands.errors.CommandRegistrationError: The command help is already an existing command or alias.
自己早就被这种废话掏空了,但已经放弃了。最终我用谷歌搜索并找到了答案:https ://stackoverflow.com/questions/62644195/discord-py-change-the-default-help-command
我已经明白问题是什么了..我忘了加引号