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

View file

@ -6,7 +6,7 @@ const Command = require('../../model/command');
module.exports = async (message) => {
const user = message.author;
if (!user.bot) {
if ((message.guild === null || isRightGuild(message.guild.id)) && !user.bot) {
await Command.parseMessage(message);
}
};