Files
qweribot/.example.env

28 lines
1.5 KiB
Bash

# Settings that have been commented out are optional
# Application config
CLIENT_ID= # Client_id gotten from the twitch dev console
CLIENT_SECRET= # Client_secret gotten from the twitch dev console
# REDIRECT_URL= # Redirect URL that has been set in the twitch dev console. Defaults to: http://localhost:3456
# REDIRECT_PORT= # Redirect port if the REDIRECT_URL has not been set. Defaults to 3456. This is also the port the bot will listen on to authenticate
# COMMAND_PREFIX= # The prefix which will be used to activate commands. Defaults to '!'. When requiring a space between prefix and command, escape the space with a backslash
WEB_PORT= # The port that the chat widget and sound alerts will be served on
# The Twitch IDs required below can be gotten from this website: https://www.streamweasels.com/tools/convert-twitch-username-to-user-id/
# Streamer config
STREAMER_ID= # Twitch ID of the streaming user
# Chatter config
CHATTER_ID= # Twitch ID of the chatting user
CHATTER_IS_STREAMER= # If the bot that activates on commands is on the same account as the streamer, set this to true. Make sure the STREAMER_ID and CHATTER_ID match in that case.
# Postgres config
POSTGRES_HOST= # Hostname + port of the postgres database
POSTGRES_USER= # Username for logging in on the postgres database
POSTGRES_PASSWORD= # Password for logging in on the postgres database
POSTGRES_DB=twitchbot # Database name. Recommended value: twitchbot
# Redis/Valkey config
# REDIS_URL= # Redis URL. Defaults to redis://localhost:6379