summaryrefslogtreecommitdiff
path: root/docs/channel/settings.md
blob: 330f3b6d08f35eb5ee78330be2816586c7f75c4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Settings

> This command is for broadcaster only.


The `!set` command gives broadcasters ability to customize the bot as they need it to be more fitted for chat.


## Available features

+ `markov_responses` - Enable Markov-generated responses *(triggered by "@teabot, " prefix)*
+ `random_markov_responses` - Enable Markov-generated responses on random messages. It is required that the feature `markov_responses` is enabled.

## Syntax

### Set the bot localization for the chat
`!set locale [lang]`

+ `[lang]` - Language name in English and lowercase. 
Available languages at the moment: **english**, **russian**.

### Set the bot prefix
`!set prefix [characters]`

+ `[characters]` - Characters to be set as a prefix.

### Enable/disable the bot feature for the chat
`!set feature [feature]`

+ `[feature]` - [Available features](#available-features)

## Usage

### Setting the bot localization

+ `!set locale russian`
+ `!set locale english`

### Setting the bot prefix

+ `!set prefix ~`
+ `!set prefix ?!`

### Enabling/disabling the bot feature

+ `!set feature notify_7tv_updates`

## Responses

### Setting the bot localization

+ `Успешно установил язык чата на русский!`
+ `Successfully set the chat language to English!`

### Setting the bot prefix

+ `Successfully set the chat prefix to "~"`
+ `Successfully set the chat prefix to "?!"`

### Enabling/disabling the bot feature

+ `Successfully enabled the "markov_responses" feature for this chat!`
+ `Successfully disabled the "random_markov_responses" feature for this chat!`

## Error handling

+ [Not enough arguments](/wiki/errors#0)
+ [Incorrect argument](/wiki/errors#2)
+ [Not found](/wiki/errors#12)
+ [Something went wrong](/wiki/errors#127)