UBS/.env.example

13 lines
935 B
Plaintext

DISCORD_TOKEN=DISCORD_BOT_TOKEN_HERE # Your discord bot token
ADMIN_GUILD=DISCORD_ADMIN_GUILD_ID # The guild ID of the guild you want to be the admin guild
REGISTER_COMMANDS=true/false # If you want to register commands on startup
RESET_ADMIN=true # If true, will delete all admin users and create user 'admin' with either a generated password or the password in DEV_PWD
DEV_PWD=admin # The password for the admin user if RESET_ADMIN is true, if unset will be a random password
DB_HOST=127.0.0.1 # MariaDB Host
DB_USER=ubs # MariaDB User
DB_PASS=ubs # MariaDB Password
DB_DATABASE=ubs # MariaDB Database
LOGFILE=access.log # Log file for API request logging
TRUST_PROXY=true # Whether to trust X-Forwarded-For as the IP address.
PROXY_IP=10.10.0.1 # IP of your reverse proxy (IPv4 only, will be converted from v6)
ROBLOSECURITY=ROBLOSECURITY_COOKIE # Your ROBLOSECURITY cookie. Not used as of now, but will be used for future features.