Twitch and Discord bot
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.
 
 
Nikola Forró df4be019eb
Support multiple channels in Youtube search
6 years ago
clients Implement cooldowns using decorator 7 years ago
services Change Twitch user_id to channel_id 6 years ago
.gitignore Containerize the bot 7 years ago
Dockerfile Run bot in a container as unprivileged user 7 years ago
LICENSE Initial commit 7 years ago
README.md Update README 7 years ago
bot.py Refactor everything and implement Discord client 7 years ago
commands.py Support multiple channels in Youtube search 6 years ago
docker-compose.yaml.example Refactor everything and implement Discord client 7 years ago
requirements.txt Refactor everything and implement Discord client 7 years ago
settings.cfg.example Support multiple channels in Youtube search 6 years ago

README.md

Twitch and Discord chat bot

The bot listens for responses to !quote add, !quote edit and !quote remove commands, and updates the quotes database accordingly
using HTTP API.

Supported commands

  • !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
    • QUERY can contain | (logical or) and - (logical not) operators, for example: !yt oblivion -nehrim

Twitch-only commands

  • !lastquote - requests the most recent quote
  • !findquote PATTERN - searches for quotes matching PATTERN and in case multiple matches are found, requests 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
  • !sync [SINCE] - performs synchronization of the quotes database with Twitch VODs recorded since SINCE
    • if SINCE is not specified, date of the most recent quote is used
    • only master user is allowed to use this command