Template for general.env
is described below.
TEST_MODE=
TEST_BOT_TOKEN=
BOT_TOKEN=
OAUTH2_BOT_CLIENT_ID=
OAUTH2_BOT_SECRET=
OAUTH2_REDIRECT_LINK=
OAUTH2_REDIRECT_URI_FOR_TOKEN=
STEAM_KEY=
DATABASE_HOSTNAME=
DATABASE_PORT=
DATABASE_USER=
DATABASE_PASSWORD=
DATABASE_NAME=
SERVER_HTTP_PORT=
TEST_MODE
: test mode switch. set 1 for test mode or 0 for release mode.TEST_BOT_TOKEN
: Discord token for test bot (in test mode).BOT_TOKEN
: Discord token for live bot (release mode).
- You can find additional info about Discord bot tokens here.
OAUTH2_BOT_CLIENT_ID
:OAUTH2_BOT_SECRET
:OAUTH2_REDIRECT_LINK
:OAUTH2_REDIRECT_URI_FOR_TOKEN
:
- You can find additional info about Discord OAuth2 here.
STEAM_KEY
: key for Steam WebAPI.
- You can find additional info about Steam Web API here.
DATABASE_HOSTNAME
: IP Address of outer database.DATABASE_PORT
: port of outer database.DATABASE_USER
: username for connection to outer database.DATABASE_PASSWORD
password for connection to outer database.DATABASE_NAME
: outer database name.
- Outer database is running on PostgreSQL.
SERVER_HTTP_PORT
: Express server port.