-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
loader, plugin, plugins.rules: add allow_bots
decorator
#2244
Conversation
61544fc
to
2f27ab4
Compare
Is there a section of the documentation about non-rule decorators, such as echo and now allow_bot? If so, it should be updated. Otherwise, it means a future PR will be needed to talk about that. |
Do you mean a section on the And of course the decorators themselves are autodoc'd at |
Great! And yes, I was thinking about that, so that would be perfect thank you. ❤️ |
I took a stab at the documentation update. My IRC client is currently closed because my ongoing network problems are so distracting. I might stick to GitHub comments for a while, just for my own sanity's sake. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A nitpick, and it's more or less a question/suggestion. The doc looks dope.
Happy to get a second look before I squash, @Exirel. I almost committed a nemesiS of my own. 😁 |
Let's. Go. 🚢 |
Noted some gaps in the test suite regarding the loader setting defaults for certain callable attributes (including this new one), but elected to leave that for a future patch.
These didn't get any brief mention on the "Anatomy of a plugin" page, like most of their siblings already had. It seemed only fair. Also added a gotcha to the `echo` decorator's docs.
526bf73
to
834f546
Compare
Description
You know, it's fun when you find an unmerged branch hanging around during a local cleanup.
It needs rebasing, which I'll handle in a moment, but it will fill a gap in the plugin decorator library. After #2089 we're missing a way for plugin authors to opt back into getting messages from other bots. Most will probably appreciate the filtering Sopel now does on their behalf, but I'm sure there are a few who relied on the old behavior…
Checklist
make qa
(runsmake quality
andmake test
)I will make sure of this after rebasing.It was true! And I even remembered to upgrade the dev-reqs before running tests.