make verification channel an env variable

This commit is contained in:
Ayden Jahola 2024-08-31 02:35:14 +01:00
parent c6a5dd2701
commit e54a03215a
No known key found for this signature in database
GPG key ID: 71DD90AE4AE92742

2
bot.js
View file

@ -15,7 +15,7 @@ const client = new Client({
const VERIFIED_ROLE_NAME = process.env.VERIFIED_ROLE_NAME; // Role name to assign after verification 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 EMAIL_DOMAIN = process.env.EMAIL_DOMAIN; // Domain to verify against
const GUILD_ID = process.env.GUILD_ID; // Guild ID to restrict the bot 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 // Connect to MongoDB
mongoose mongoose