Skip to content

Remove previously registered commands #19

@adevries17

Description

@adevries17

First I would like to say that the work done on this framework is wonderful, documentation is done well and I want to thank everyone involved so far on getting it where it is.

Next, I have a question regarding how to remove already registered commands. Looking through the existing documentation and code, I'm not seeing a way to remove previously registered commands outside of using the bulk edit command endpoint to overwrite all commands.

For example, I create a command using the framework, run the bot which registers that command without issue. If I make an adjustment to that command, rename it, or remove it, in discord it still shows up as previously registered.

I'm currently registering commands using the framework.register_guild_commands method. Is there a similar framework.remove_guild_commands method that I'm not finding, or does this functionality exist?

If it doesn't exist already, I will move forward with using the bulk update method specified at the end of the README.

Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions