-
-
Notifications
You must be signed in to change notification settings - Fork 480
Open
Labels
bugSomething isn't workingSomething isn't workingext.bridgeRelating to ext.bridgeRelating to ext.bridge
Milestone
Description
Summary
As the title says, when you unload an extension that includes a cog with prefix or bridge commands, it does not remove those commands. This is similar to #2015, but slash commands do get unloaded now.
Reproduction Steps
- Define an extension.
- Define a Cog inside it.
- Add prefix, bridge, and slash commands inside the Cog.
- Load the extension.
- Run the commands.
- Unload the extension.
- Observe the bridge and prefix commands still working fine.
Minimal Reproducible Code
TodoExpected Results
I expected the bridge and prefix commands to not work anymore, just like the slash commands in the same cog.
Actual Results
The bridge and prefix still function, as if the extension is still loaded.
Intents
Not relevant
System Information
TODOChecklist
- I have searched the open issues for duplicates.
- I have shown the entire traceback, if possible.
- I have removed my token from display, if visible.
Additional Context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingext.bridgeRelating to ext.bridgeRelating to ext.bridge
Type
Projects
Status
No status