Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Commands

Emerson Veenstra edited this page Dec 2, 2017 · 2 revisions

Patterns

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

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

addregexpattern limit life /pattern/

Same as addpattern, but /pattern/ is evaluated as a regex rather than a string.

lspattern

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

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

checkpattern text

Checks text against all the active patterns and returns any matches

lstmp

lstmp #channel

Lists all temporary patterns in #channel

rmtmp

rmtmp #channel

Removes all temporary patterns in #channel

addtmp

addtmp #channel text

Adds a temporary pattern text for #channel

addglobaltmp

addglobaltmp text

Adds a temporary pattern globally (i.e. it applies to all channels)

Other commands

defcon

defcon [#channel]

Lower the abuse limits for a channel or globally

oper

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

`state [#channel]

Prints debug information about internal state, either for a channel or globally

vacuum

vacuum

Optimize the database

resync

resync

Sync the user presence (after a reload)

Clone this wiki locally