A python script to get live responses from predb.ovh Websocket API and post the Pre to Telegram or Discord (Optional).
Edit the .env file
Default Config
ENABLE_DISCORD = "False"
ENABLE_TELEGRAM = "False"
WEBHOOK_URL = "test"
TG_BOT_TOKEN = "bot token"
CHANNEL_ID = "@channel name or -channel/group id"
Set ENABLE_DISCORD = "True"
and Update WEBHOOK_URL
if you want to send Pre to Discord channel.
Set ENABLE_TELEGRAM = "True"
and Update TG_BOT_TOKEN
, CHANNEL_ID
if you want to send Pre to Telegram channel.
pip install -r requirements.txt
python predb-live.py
or
python predb-live-categories.py
to show category of pre.
See LICENSE