sync/examples/python-show-bot/README.md
2026-05-21 16:06:00 +02:00

635 B

Python Show Bot Example

Uses veretube-bot==0.1.4 with AsyncBot and the built-in Shows API helpers.

Setup

cd examples/python-show-bot
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Set environment variables:

  • BOT_TOKEN (required)
  • CHANNEL (required)
  • SOCKET_URL (default: http://localhost:1337)
  • API_BASE (default: http://localhost:8080/api/v1)
  • SHOW_TIMEZONE (default: UTC, must be valid IANA timezone)

Run:

python bot.py

Chat Commands

  • !shows - list shows
  • !mkshow - create a demo show
  • !runshow <id> - run a show immediately