IRC nick!user@host real
watcher, akin to Atheme's OperServ RWATCH
.
$ cp config.example.yaml config.yaml
$ vim config.yaml
$ sqlite3 ~/.masks.db < make-database.sql
$ python3 -m bismite config.yaml
<jess> addreason spam Spam is not welcome on Libera Chat. Email $email with questions.
-bismite- added $spam
<jess> addreason email [email protected]
-bismite- added $email
<jess> listreason
-bismite- $spam: Spam is not welcome on Libera Chat. Email $email with questions.
-bismite- $email: [email protected]
<jess> addmask /^jesstest!/ $spam|!dnsbl
-bismite- added 1
<jess> listmask
-bismite- 1: /^jesstest!/ (0 hits) WARN [$spam|!dnsbl]
<jess> setmask 1 lethal
-bismite- /^jesstest!/ changed from WARN to LETHAL
<jess> getmask 1
-bismite- 1: /^jesstest!/ (0 hits) LETHAL [$spam|!dnsbl]
-bismite- changes:
-bismite- 2021-06-03T19:01:02 by jess: add
-bismite- 2021-06-03T19:01:10 by jess: type LETHAL
/msg bismite addmask /<regex>/ <reason>[|<oper reason>]
delimiters on /<regex>/
can be any non-alphanumeric character, e.g.
,<regex>,
/msg bismite setmask <id> WARN|LETHAL|DLETHAL|EXCLUDE
/msg bismite togglemask <id>
/msg bismite addreason <alias> <text>
adds a reason template that can be used in mask reasons (see above example)
/msg bismite delreason <alias>
/msg bismite listreason
Prints a line to channel configured in config.yaml
to tell you that someone
matched the pattern.
Same as WARN
, but also k-lines the user.
Same as LETHAL
, but the k-line is delayed a bit.
Same as WARN
, but is seen as more "important" than other mask types, and
will thus prevent people matching it from matching e.g. LETHAL
masks.
You can specify different flags to limit when a mask will be matched. For example to add mask flag i
, use:
addmask /^beep!/i $spam|!dnsbl
The mask flags are as follows:
i
- case insensitive matcha
- only match users with an accountA
- only match users without an accountN
- also match on nick changes instead of just on connections