Both coretasks and url used bot.search_url_callbacks, that was deprecated some time ago and wants to emit warning in Sopel 8.1. Because it was used, we didn't bump Sopel's version to 8.1.0.dev0 yet, and that was annoying.
Therefore, I replaced that by a direct access to the private attribute _url_callbacks, and then bumped to Sopel 8.1.0.dev0. And by the way, we should be able to remove bot.call in Sopel 9.
Thank you for your service, register_url_callback, but I can't wait to remove you and your sister methods!
Description
Both
coretasks
andurl
usedbot.search_url_callbacks
, that was deprecated some time ago and wants to emit warning in Sopel 8.1. Because it was used, we didn't bump Sopel's version to 8.1.0.dev0 yet, and that was annoying.Therefore, I replaced that by a direct access to the private attribute
_url_callbacks
, and then bumped to Sopel 8.1.0.dev0. And by the way, we should be able to removebot.call
in Sopel 9.Thank you for your service,
register_url_callback
, but I can't wait to remove you and your sister methods!Checklist
make qa
(runsmake lint
andmake test
)