mirror of https://gitlab.com/gpvkt/twitchtts.git
Merge branch 'main' of gitlab.com:gpvkt/twitchtts
This commit is contained in:
commit
daf113f6c9
|
@ -186,14 +186,14 @@ The `!quickvote` feature implements a simple vote system. If a broadcaster or mo
|
||||||
|
|
||||||
The `!random` command will read a random line from a file called `random.txt`. You can also use multiple files, if you call `!random foo` the bot fetch the random line from a file called `random_foo.txt` instead of `random.txt`. `!random bar` will use the file `random_bar.txt` and so on. The `!random` command is restricted to the broadcaster and moderators.
|
The `!random` command will read a random line from a file called `random.txt`. You can also use multiple files, if you call `!random foo` the bot fetch the random line from a file called `random_foo.txt` instead of `random.txt`. `!random bar` will use the file `random_bar.txt` and so on. The `!random` command is restricted to the broadcaster and moderators.
|
||||||
|
|
||||||
#### !smartvote
|
#### !smartquote
|
||||||
|
|
||||||
The `!smartvote` command will read a line from a file called `quotes.txt`. You can add a parameter after the command. If the parameter is numeric the bot will search for a line starting with `#$number`. If the parameter is a string it will search for a line matching the parameter. If no parameter is given it will search for a completely random line.
|
The `!smartquote` command will read a line from a file called `quotes.txt`. You can add a parameter after the command. If the parameter is numeric the bot will search for a line starting with `#$number`. If the parameter is a string it will search for a line matching the parameter. If no parameter is given it will search for a completely random line.
|
||||||
|
|
||||||
The format of `quotes.txt` looks as follows:
|
The format of `quotes.txt` looks as follows:
|
||||||
|
|
||||||
``` lang=text
|
``` lang=text
|
||||||
#1: "the quote" -username (date)
|
#1: "the quote" -username/game (date)
|
||||||
```
|
```
|
||||||
|
|
||||||
#### !addquote
|
#### !addquote
|
||||||
|
|
Loading…
Reference in New Issue