Moved from config json to .env

This commit is contained in:
2023-04-06 21:58:10 +02:00
parent 9d0e1e0d12
commit bf77f8c224
10 changed files with 26 additions and 10 deletions

View File

@@ -1,6 +1,7 @@
const { SlashCommandBuilder, PermissionFlagsBits, userMention } = require('discord.js');
const env = require('dotenv').config();
const dev = process.env.DEV;
const { color } = require('../config/options.json');
const { dev } = require('../config.json');
const { admin, helper, muted } = require('../config/roles.json');
const { staffOtherChannel } = require('../config/options.json');