Extension Unloading does not stop slash_commands from functioning. #2015
Labels
bug
Something isn't working
ext.bridge
Relating to ext.bridge
help wanted
Extra attention is needed
on hold
priority: high
High Priority
status: todo
This issue needs work
Summary
Commands don't get removed from the internal cache on extension unloading.
Reproduction Steps
/ping
command --> everything works fine./unload utility
command./ping
command.Minimal Reproducible Code
Expected Results
The bot should have responded with "The application did not respond",
because it could not find the
/ping
command in the internal cache.Actual Results
On unloading the Cog which contains the
/ping
command, it still works fine."still works fine" as in the
/ping
command still responds with the normal (not unloaded) response.Intents
intents = discord.Intents.default(message_content=True, members=True)
System Information
Checklist
Additional Context
I just want to note that this is a known issue already, but it wasn't listed on GitHub as an issue and @JustaSqu1d allowed me to make an issue post here.
The text was updated successfully, but these errors were encountered: