# 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 EVENTSUB_SECRET= # Should be a random string of characters EVENTSUB_HOSTNAME= # https secured URL that the bot is listening on (EVENTSUB_PORT) EVENTSUB_PORT=8081 # TCP port the bot will be listening on for eventsub events # 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=8080 # 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 # Discord bot config # Not nessecary for twitch bot to run DISCORD_TOKEN= # Discord bot token DISCORD_CLIENT_ID= # Discord bot app client id DISCORD_GUILD_ID= # Discord guild (server) where the bot runs DISCORD_CHANNEL_ID= # Discord channel id, in guild, where bot should post announcements # Development only # EVENTSUB_NGROK_TOKEN=