Swapped IDs to .env file
This commit is contained in:
parent
281841231d
commit
6811c868cc
2 changed files with 10 additions and 5 deletions
5
.env
Normal file
5
.env
Normal file
|
@ -0,0 +1,5 @@
|
|||
CLIENT_TOKEN='TOKEN_HERE'
|
||||
OWNER=' <@DISCORD_ID> '
|
||||
MODCHAT='CHANNEL_ID'
|
||||
BOT_STATUS='Fancy status'
|
||||
ADMIN_ROLE='ADMIN_ROLE_ID'
|
10
index.js
10
index.js
|
@ -7,11 +7,11 @@ const {
|
|||
const Tesseract = require('tesseract.js');
|
||||
const fs = require('fs');
|
||||
|
||||
// Change these to match the user the bot pings "owner" when it deletes a message and which channel it logs messages to "modchat"
|
||||
const owner = `<@331669618387058688> `;
|
||||
const modchat = '510189494809526283';
|
||||
const botStatus = `reach for the sky and wave hi` // This shows as the bot's status in Discord
|
||||
const adminRole = `509444712734654464` // So admins can use the !bot command
|
||||
// Change these in .env to match the user the bot pings "owner" when it deletes a message and which channel it logs messages to "modchat"
|
||||
const owner = process.env.OWNER;
|
||||
const modchat = process.env.MODCHAT;
|
||||
const botStatus = process.env.BOT_STATUS; // This shows as the bot's status in Discord
|
||||
const adminRole = process.env.ADMIN_ROLE; // So admins can use the !bot command
|
||||
|
||||
// The list file locations are initalized here
|
||||
const badWordsList = './lists/badwords.txt';
|
||||
|
|
Loading…
Reference in a new issue