-
Notifications
You must be signed in to change notification settings - Fork 13
Commands
Sigyn has two types of patterns, permanent and temporary. Permanent patterns are added manually and stored in the database. They can be set to act more or less leniently, and can be edited after they are created. However, they are global, there is no way to customize the settings on a per-channel basis.
Temporary patterns are normally added automatically by Sigyn when she detects abuse in a channel, however, they can be added manually as well. There are no per-pattern settings, but they can be set for a single channel or globally.
addpattern limit life pattern
Adds a permanent string pattern to the database, will kill/k-line a user if the user says pattern
more than limit
times in life
seconds. Set limit
to 0
to kill/k-line as soon as the pattern is said.
addregexpattern limit life /pattern/
Same as addpattern
, but /pattern/
is evaluated as a regex rather than a string.
lspattern [--deep] id|pattern
Searches for pattern details by either id or pattern string, and returns information on any matches. By default, it only searches active patterns, --deep
searches inactive patterns as well
editpattern id limit life [comment]
Changes the limit and/or life of a pattern. Currently both limit
and life
are required, even if you're only changing one of them. Also you can add an optional comment that will be returned by lspattern
checkpattern text
Checks text
against all the active patterns and returns any matches
lstmp #channel
Lists all temporary patterns in #channel
rmtmp #channel
Removes all temporary patterns in #channel
addtmp #channel text
Adds a temporary pattern text
for #channel
addglobaltmp text
Adds a temporary pattern globally (i.e. it applies to all channels)
defcon [#channel]
Lower the abuse limits for a channel or globally
oper
Tells bot to oper (it does this automatically on connect, but this exists if the bot needs to re-oper for some reason)
`state [#channel]
Prints debug information about internal state, either for a channel or globally
vacuum
Optimize the database
resync
Sync the user presence (after a reload)