From e54a03215af0426b2e237e815b985a6962acbc10 Mon Sep 17 00:00:00 2001 From: Ayden Jahola Date: Sat, 31 Aug 2024 02:35:14 +0100 Subject: [PATCH] make verification channel an env variable --- bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.js b/bot.js index fcfac28..beee15b 100644 --- a/bot.js +++ b/bot.js @@ -15,7 +15,7 @@ const client = new Client({ const VERIFIED_ROLE_NAME = process.env.VERIFIED_ROLE_NAME; // Role name to assign after verification const EMAIL_DOMAIN = process.env.EMAIL_DOMAIN; // Domain to verify against const GUILD_ID = process.env.GUILD_ID; // Guild ID to restrict the bot -const VERIFICATION_CHANNEL_NAME = "verification"; // Channel name to restrict the bot +const VERIFICATION_CHANNEL_NAME = process.env.VERIFICATION_CHANNEL_NAME; // Channel name to restrict the bot // Connect to MongoDB mongoose