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
Expected 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
Checklist
Additional Context
No response
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
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
Checklist
Additional Context
No response