Implement example .env files

This commit is contained in:
Logan Cusano
2023-05-07 04:48:19 -04:00
parent d04cc8d5b1
commit cf04e37f89
2 changed files with 89 additions and 0 deletions

31
Client/.env.example Normal file
View File

@@ -0,0 +1,31 @@
DEBUG="client:*"
# Bot Config
# Discord Bot Token
TOKEN=""
# Discord Bot Application ID
APPLICATION_ID=""
# Default Guild ID
GUILD_ID=""
# Audio Config
AUDIO_DEVICE_ID=""
AUDIO_DEVICE_NAME=""
# The level to open the noisegate and play audio to Discord, recommended to set to 10
AUDIO_NOISE_GATE_OPEN="10"
# Client Config
CLIENT_ID=
CLIENT_NAME=""
CLIENT_IP=""
CLIENT_PORT=3010
CLIENT_LOCATION=""
CLIENT_NEARBY_SYSTEMS=""
CLIENT_ONLINE=true
# Configuration for the connection to the server
SERVER_IP=""
SERVER_HOSTNAME=""
SERVER_PORT=3000
# Configuration of the local OP25 application
OP25_BIN_PATH=""

58
Server/.env.example Normal file
View File

@@ -0,0 +1,58 @@
# Discord Bot Configs
# Bot Token
TOKEN=""
# Client ID
clientId=""
# Prefix (deprecated)
PREFIX="^"
# ID of the Group than Can Admin The Bot
BOT_ADMINS=""
# Default Voice Channel to Join if None are Specified
DEFAULT_VOICE_CHANNEL_ID=""
# HTTP Server Config (DRB_CNC)
# HTTP Port to listen on
HTTP_PORT=3000
# MySQL Config for Emmelia
# Core DB Info and Login
EM_DB_HOST=""
EM_DB_USER=""
EM_DB_PASS=""
EM_DB_NAME=""
# Names of DB Tables
DB_RSS_FEEDS_TABLE="RSSFeeds"
DB_RSS_POSTS_TABLE="RSSPosts"
DB_ACCOUNTS_TABLE="accounts"
DB_TRANSACTIONS_TABLE="transactions"
DB_PRICING_TABLE="pricing"
# MySQL Config for Node Control
NODE_DB_HOST=''
NODE_DB_USER=''
NODE_DB_PASS=''
NODE_DB_NAME=''
# Node Config
# Time betwen check ins with the nodes
NODE_MONITOR_REFRESH_INTERVAL=100000
# RSS Config
# Interval between refreshes
RSS_REFRESH_INTERVAL=3000000
# OpenAI Config
# OpenAI Organization ID
OPENAI_ORG=""
# OpenAI API Key
OPENAI_KEY=""
# Stable Diffusion (Stability AI) Config
# API KEY
STABILITY_API_KEY=""
# General Config
# Exit when the program encounters and error (this may be ignored in some instances, and the error will exit the program either way)
EXIT_ON_ERROR=false
# Delay the exit of the program for X miliseconds, this can be used if you want to see what happens just after the error occurs or see if something else errors
EXIT_ON_ERROR_DELAY=0