Environment Variables

Here are the list of the environment variables.

# Variable Default Value Description
1 APP_TOKEN Required Discord Bot Token. Learn more: https://discordgsm.com/guide/how-to-get-a-discord-bot-token
2 WHITELIST_GUILDS Required Discord Guild ID, if more than one, separated by a semi colon ;
3 APP_DEBUG false Enable application debug mode.
4 APP_ACTIVITY_TYPE 3 Presence activity type override. playing = 0, listening = 2, watching = 3, competing = 5
5 APP_ACTIVITY_NAME Presence activity name override.
6 APP_ADVERTISE_TYPE 0 Presence advertise type. server_count = 0, individually = 1, player_stats = 2
7 TASK_QUERY_SERVER 60 Query servers task scheduled time in seconds.
8 TASK_QUERY_SERVER_TIMEOUT 15 Query servers task timeout in seconds.
9 DB_CONNECTION sqlite Database type. Accepted value: sqlite, pgsql, mongodb
10 DATABASE_URL Database connection url.
11 COMMAND_QUERY_PUBLIC false Whether the /queryserver command should be available to all users.
12 COMMAND_QUERY_COOLDOWN 5 The /queryserver command cooldown in seconds. (Administrator will not be affected)
13 HEROKU_APP_NAME Heroku application name. (Heroku only)
14 WEB_API_ENABLE false Enable Web API feature. (Web server only)
15 FACTORIO_USERNAME The factorio username associated with the auth token.
16 FACTORIO_TOKEN The factorio auth token.

Got any questions or feedback? Join our Discord Server.