You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful for future debugging, I think, if the bot.call_rule() code path had something like this. Right now it just sends a notice if the rate limit has a message, else it just silently returns without doing anything:
The old code path for calling plugin callables (
bot.call()
) had some nice logging that kicked in if a rate limit was applied:sopel/sopel/bot.py
Lines 728 to 756 in da05822
This code path still gets used by
coretasks.handle_url_callbacks()
, but that's the only remaining use of this method that I could find.It would be helpful for future debugging, I think, if the
bot.call_rule()
code path had something like this. Right now it just sends a notice if the rate limit has a message, else it just silently returns without doing anything:sopel/sopel/bot.py
Lines 666 to 670 in da05822
Would be nice to have in the logs (INFO or DEBUG, either works) which rate limit was applied, in case there's some confusion during plugin dev.
The text was updated successfully, but these errors were encountered: