randydev commited on
Commit
6b55fd1
·
verified ·
1 Parent(s): ef9432a

Update config.js

Browse files
Files changed (1) hide show
  1. config.js +4 -2
config.js CHANGED
@@ -5,13 +5,15 @@ dotenv.config();
5
  const dbUri = process.env.DB_URI;
6
  const HUGGING_TOKEN = process.env.HUGGING_TOKEN;
7
  const GoogleAPIKey = process.env.GOOGLE_API_KEY;
 
8
 
9
- if (!dbUri && !HUGGING_TOKEN && !GoogleAPIKey) {
10
  throw new Error("Missing variables required");
11
  }
12
 
13
  export {
14
  dbUri,
15
  HUGGING_TOKEN,
16
- GoogleAPIKey
 
17
  };
 
5
  const dbUri = process.env.DB_URI;
6
  const HUGGING_TOKEN = process.env.HUGGING_TOKEN;
7
  const GoogleAPIKey = process.env.GOOGLE_API_KEY;
8
+ const BotToken = process.env.BOT_TOKEN;
9
 
10
+ if (!dbUri && !HUGGING_TOKEN && !GoogleAPIKey && !BotToken) {
11
  throw new Error("Missing variables required");
12
  }
13
 
14
  export {
15
  dbUri,
16
  HUGGING_TOKEN,
17
+ GoogleAPIKey,
18
+ BotToken
19
  };