Bot for Twitch
  • Python 98.6%
  • Dockerfile 1.4%
Find a file
Mylloon 7d44ff3462
All checks were successful
Publish latest version / build (push) Successful in 36s
feat: deadlock rank support
2026-05-05 22:31:02 +02:00
.forgejo/workflows fix: actions 2026-05-05 21:52:33 +02:00
src feat: deadlock rank support 2026-05-05 22:31:02 +02:00
.envexample moving env file to root folder and removing discord command 2021-08-02 13:37:19 +02:00
.gitignore chore: fmt 2026-05-05 21:23:21 +02:00
docker-compose.yml chore: 2026-05-05 21:26:11 +02:00
Dockerfile chore: update dependencies 2026-05-05 21:50:35 +02:00
LICENSE Add year and author 2023-02-15 16:01:53 +01:00
README.md feat: deadlock rank support 2026-05-05 22:31:02 +02:00
requirements.txt chore: update dependencies 2026-05-05 21:50:35 +02:00

Tom, a twitch bot

status-badge

Features

Here is the list of available commands by default:

Some command have aliases, see list for more information

Command Explanation
add Add command to the database (add command_name command_message)
remove Remove command from database (remove command_name)
list Print all available commands (internal and user-defined)
edit Modify a database command (edit command_name new_command_message)

Setup with Docker

  • Via docker-compose
  • Via command line
    docker run -d \
        --name="Bot-Tom" \
        git.mylloon.fr/confreriedukassoulait/tom:latest \
        --ACCESS_TOKEN="yourAccessToken" \
        --PREFIX="yourPrefix" \
        --CHANNEL="yourChannel(s)" \
        -v /here/your/path/:/app/db
    

Setup Locally

  • Requires Python 3.11.6

  • Install dependencies

    python3 -m pip install -r requirements.txt
    
  • Rename .envexample file in .env, then open the file and complete the fields

    Field Explanation
    ACCESS_TOKEN Access token of the bot account (be sure you selected Bot Chat Token)
    PREFIX Prefix used for your bot
    CHANNEL Twitch channel(s) where the bot will run (separate by comma)
    RIOT_CHANNEL* Replace CHANNEL by the channel name, example: RIOT_PONCE, value should be your Riot ID, prefixed by the region, example: eu/User#123
    VALVE_CHANNEL Replace CHANNEL by the channel name, example: RIOT_PONCE, value should be your SteamID3

    * Available regions are: EU, AP, NA, KR

  • Start bot

    cd src; python3 main.py