Improved and fixed embed generation command

This commit is contained in:
Lily Wonhalf 2021-07-11 22:29:11 -04:00
parent bbdb5f249f
commit 30daa4627e
7 changed files with 93 additions and 26 deletions

1
bot.js
View file

@ -55,6 +55,7 @@ const botProcess = () => {
const { Client } = require('discord.js');
global.bot = new Client({ fetchAllMembers: true });
global.isRightGuild = (guildSnowflake) => guildSnowflake === Config.guild;
const Config = require('./config.json');
const Command = require('./model/command');