Closed K1ng04 closed 3 days ago
Having trouble using remove_command
Upgraded to the latest version
example code:
intents = discord.Intents.default() client = commands.Bot(command_prefix='/', intents=intents) @client.command(aliases=['next', 'Next', "NEXT"], guild_ids=testserver, name='next', description='used to loop through queue') async def play_next(ctx): ********* code **********
No response
Command to work as expected before upgrade
discord.ext.commands.errors.CommandRegistrationError: The alias next is already an existing command or alias.
default
Tried running client.remove_command(), but, that hasn't help
your command has its own name as an alias
Feel free to ask for help in our discord: https://discord.gg/pycord
Summary
Having trouble using remove_command
Reproduction Steps
Upgraded to the latest version
example code:
Minimal Reproducible Code
No response
Expected Results
Command to work as expected before upgrade
Actual Results
discord.ext.commands.errors.CommandRegistrationError: The alias next is already an existing command or alias.
Intents
default
System Information
Checklist
Additional Context
Tried running client.remove_command(), but, that hasn't help