-
-
Notifications
You must be signed in to change notification settings - Fork 402
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bot, plugins: deprecate bot.{add|remove}_plugin
Both methods to add/remove plugins rely on values direct from `loader.clean_module`, which is inconvenient at time. In order to rework smoothly this interface, these methods are now deprecated and they will be removed in Sopel 9.0. We still need methods to record the plugin handler to the plugin name in `bot.plugins`, but they don't do more than that. Everything else is now directly handled and controlled by the plugin handler. For good measure, I've fully type check `sopel.plugins.handlers`.
- Loading branch information
Showing
2 changed files
with
131 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.