From af23db20bb452dd0411a044c3810ff791e9d4dd7 Mon Sep 17 00:00:00 2001 From: Kevin Dang <77701718+kevinthedang@users.noreply.github.com> Date: Sat, 3 Aug 2024 09:48:47 -0700 Subject: [PATCH] Removed GUILD_ID as an Environment Variable (#103) --- .env.sample | 3 --- src/keys.ts | 1 - 2 files changed, 4 deletions(-) diff --git a/.env.sample b/.env.sample index 0e68a3f..de90f10 100644 --- a/.env.sample +++ b/.env.sample @@ -1,9 +1,6 @@ # Discord token for the bot CLIENT_TOKEN = BOT_TOKEN -# id token of a discord server -GUILD_ID = GUILD_ID - # model for the bot to query from (i.e. llama2 [llama2:13b], mistral, codellama, etc... ) MODEL = MODEL_NAME diff --git a/src/keys.ts b/src/keys.ts index 94501c6..c376e9d 100644 --- a/src/keys.ts +++ b/src/keys.ts @@ -4,7 +4,6 @@ export const Keys = { clientToken: getEnvVar('CLIENT_TOKEN'), model: getEnvVar('MODEL'), clientUid: getEnvVar('CLIENT_UID'), - guildId: getEnvVar('GUILD_ID'), ipAddress: getEnvVar('OLLAMA_IP'), portAddress: getEnvVar('OLLAMA_PORT'), } as const // readonly keys