Docker Run Command
sudo docker run -t -d -v "${PWD}":/app/data -i -t --sig-proxy=false --name ttv-bot ghcr.io/tychothetaco/twitch-drops-bot:latestIn the pwd, you need to have a cookies file and a config.json
sample config.json:
{
"username": "",
"password": "",
"browser": "/usr/bin/chromium",
"games": [
"",
""
],
"headless": true,
"headless_login": true,
"interval": 15,
"load_timeout_secs": 30,
"failed_stream_retry": 3,
"failed_stream_timeout": 30,
"browser_args": [],
"watch_unlisted_games": false,
"hide_video": true,
"show_account_not_linked_warning": true,
"ignored_games": [],
"attempt_impossible_campaigns": true,
"watch_streams_when_no_drop_campaigns_active": true,
"do_version_check": true,
"logging": false,
"broadcasters": [
"",
"",
""
],
"tui": {
"enabled": true
},
"updates": {
"type": "dev",
"enabled": true
},
"notifications": {
"discord": [
{
"webhook_url": "https://discord.com/api/webhooks/fasfasdfadsfasdf",
"events": {
"new_drops_campaign": {
"games": "all"
},
"drop_claimed": {
"games": "config"
},
"community_points_earned": {
"reasons": [
"claim",
"streak",
"raid"
]
},
"drop_ready_to_claim": {},
"drop_progress": {
"interval": "5m 30m 45m"
}
}
}
],
"auto_claim_community_points": true,
"auto_claim_drops": true
}
}