From cf04e37f8921a4fd0f3cfdfa76c54fe30e492141 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sun, 7 May 2023 04:48:19 -0400 Subject: [PATCH] Implement example .env files --- Client/.env.example | 31 ++++++++++++++++++++++++ Server/.env.example | 58 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 Client/.env.example create mode 100644 Server/.env.example diff --git a/Client/.env.example b/Client/.env.example new file mode 100644 index 0000000..b9a73b6 --- /dev/null +++ b/Client/.env.example @@ -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="" \ No newline at end of file diff --git a/Server/.env.example b/Server/.env.example new file mode 100644 index 0000000..33d68bd --- /dev/null +++ b/Server/.env.example @@ -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 \ No newline at end of file