-
-
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.
plugins.rules: ignore messages tagged as coming from a bot
Only PRIVMSG and NOTICE messages from bots are filtered out, so this change doesn't affect Sopel's user tracking. JOINs, PARTs, etc. can be included later, once there exists a decorator that event handlers can use to turn this `bot` filter off. Currently supports the `draft/bot` tag AND the `bot` tag that will be used when the relevant IRCv3 extension leaves draft status. It seems like the future-proofing is of minimal risk here.
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 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
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