You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
1.4 KiB

7 years ago
# Twitch and Discord chat bot
7 years ago
The bot listens for responses to `!quote add`, `!quote edit` and `!quote remove` commands, and updates the quotes database accordingly
6 years ago
using [HTTP API](https://gitea.brno.mraveniste.cc/turbotraktor/ladylilia.com/src/branch/master/quotes-api/README.md).
7 years ago
## Supported commands
6 years ago
* `!lastquote` - posts the most recent quote
* `!findquote PATTERN` - searches for quotes matching `PATTERN` and in case multiple matches are found, posts one of them randomly
- `PATTERN` has to be at least 3 characters long and it can be enclosed in double quotes in case it contains spaces
* `!bellagram`, `!bellapics`, `!instabella`, `!instagram` - posts a link to a random Instagram picture of Bella
* `!yt QUERY` - queries Lady Lilia's Youtube channel and posts a link to the most relevant result
7 years ago
- `QUERY` can contain `|` (logical **or**) and `-` (logical **not**) operators, for example: `!yt oblivion -nehrim`
6 years ago
* `!clip PATTERN` - searches for Twitch clips matching `PATTERN` and in case multiple matches are found, posts one of them randomly
7 years ago
- `PATTERN` has to be at least 3 characters long and it can be enclosed in double quotes in case it contains spaces
* `!syncquotes` - performs synchronization of the quotes database with Twitch VODs
7 years ago
- only master user is allowed to use this command
* `!reload` - reloads the list of extra commands from the config file
- only master user is allowed to use this command