mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-22 03:49:29 +01:00
doc/Registry.md: fix regex
This commit is contained in:
parent
69005fa9d0
commit
f673719d1c
@ -152,8 +152,8 @@ This is a list of recognized registry items at the time of this writing.
|
||||
|
||||
Name | Description | Default value
|
||||
--- | --- | ---
|
||||
antiaway.bad_actions | If a message matches against this regex, it is considered an Away action. | `^/me (is (away|gone)|.*auto.?away)`
|
||||
antiaway.bad_nicks | If someone changes their nick and the new nick matches this regex, it is considered an Away nick. | `(^z+[[:punct:]]|[[:punct:]](afk|brb|bbl|away|sleep|asleep|nap|z+|work|gone|study|out|home|busy|off)[[:punct:]]*$|afk$)`
|
||||
antiaway.bad_actions | If a message matches against this regex, it is considered an Away action. | `^/me (is (away\|gone)\|.*auto.?away)`
|
||||
antiaway.bad_nicks | If someone changes their nick and the new nick matches this regex, it is considered an Away nick. | `(^z+[[:punct:]]\|[[:punct:]](afk\|brb\|bbl\|away\|sleep\|asleep\|nap\|z+\|work\|gone\|study\|out\|home\|busy\|off)[[:punct:]]*$\|afk$)`
|
||||
antiaway.kick_msg | The message to use when kicking Away offenders. | http://sackheads.org/~bnaylor/spew/away_msgs.html
|
||||
antiflood.chat_flood_punishment | The amount of time, in seconds, offenders will be muted/banned. | 60,300,3600,86400,604800,2419200
|
||||
antiflood.chat_flood_threshold | The number of messages before this is considered a flood. | 4
|
||||
|
Loading…
Reference in New Issue
Block a user