website/content/docs/botserv.md

32 lines
1.4 KiB
Markdown

# BotServ
Bot services — channel bots that speak, moderate, and auto-respond. Message it with
`/msg BotServ <command>`.
## Assigning & speaking
| Command | Syntax | Description |
| --- | --- | --- |
| ASSIGN | `ASSIGN <#channel> <bot>` | Put a bot in a channel |
| UNASSIGN | `UNASSIGN <#channel>` | Remove a channel's bot |
| INFO | `INFO <bot \| #channel>` | Show bot / channel settings |
| SAY | `SAY <#channel> <text>` | Speak through the bot |
| ACT | `ACT <#channel> <text>` | Action (`/me`) through the bot |
| BOTLIST | `BOTLIST` | List assignable bots |
## Behaviour
| Command | Syntax | Description |
| --- | --- | --- |
| SET | `SET <#channel> <GREET\|BANEXPIRE\|NOBOT\|VOTEKICK> <value>` · `SET <bot> PRIVATE <ON\|OFF>` | Configure bot behaviour |
| KICK | `KICK <#channel> <CAPS\|FLOOD\|REPEAT\|BADWORDS\|…> <ON\|OFF> [params]` · `KICK <#channel> TTB <n> \| TEST <message>` | Configure kickers |
| BADWORDS | `BADWORDS <#channel> ADD\|DEL\|LIST\|CLEAR [pattern]` | Manage badword patterns |
| TRIGGER | `TRIGGER <#channel> ADD <regex>\|<response>[.\|<cooldown>]` · `DEL <num>` · `LIST` · `CLEAR` | Manage auto-responses |
| COPY | `COPY <#source> <#dest>` | Clone bot settings |
## Operator
| Command | Syntax | Description |
| --- | --- | --- |
| AUTOASSIGN | `AUTOASSIGN <bot> \| OFF` | Default bot for new channels |
| BOT | `BOT ADD\|CHANGE\|DEL\|LIST` | Manage the bots themselves |