Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dispatch a cog unload event [on_cog_remove] #5570

Merged
merged 2 commits into from Apr 15, 2023

Conversation

npc203
Copy link
Contributor

@npc203 npc203 commented Feb 11, 2022

Description of the changes

This PR adds an extra event akin to it's counter-part (on_cog_add). It dispatches when a cog is (successfully) unloaded with the cog object as it's only argument.

Thanks in advance!

@npc203
Copy link
Contributor Author

npc203 commented Feb 11, 2022

Erm, just noticed, the other doc string line edit was done by black and not me

@Flame442 Flame442 self-assigned this Apr 15, 2023
@Flame442 Flame442 added the Type: Enhancement Something meant to enhance existing Red features. label Apr 15, 2023
@github-actions github-actions bot added the Category: Core - Bot Class This is related to the `redbot.core.bot.Red` class. label Apr 15, 2023
@Flame442 Flame442 merged commit c2da29c into Cog-Creators:V3/develop Apr 15, 2023
17 checks passed
@red-githubbot red-githubbot bot added the Changelog Entry: Pending Changelog entry for this PR hasn't been added by repo maintainers yet. label Apr 15, 2023
@Flame442 Flame442 added Changelog Entry: Added Changelog entry for this PR has already been added to changelog PR. and removed Changelog Entry: Pending Changelog entry for this PR hasn't been added by repo maintainers yet. labels Apr 30, 2023
Jackenmen pushed a commit to Jackenmen/Red-DiscordBot that referenced this pull request May 5, 2023
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Core - Bot Class This is related to the `redbot.core.bot.Red` class. Changelog Entry: Added Changelog entry for this PR has already been added to changelog PR. Type: Enhancement Something meant to enhance existing Red features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants