mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2024-11-22 08:45:55 +00:00
make verification channel an env variable
This commit is contained in:
parent
c6a5dd2701
commit
e54a03215a
1 changed files with 1 additions and 1 deletions
2
bot.js
2
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 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
|
||||||
|
|
Loading…
Reference in a new issue