mirror of
https://github.com/DarthKilroy/Spot.git
synced 2025-12-23 20:26:49 +00:00
Improved and fixed embed generation command
This commit is contained in:
parent
bbdb5f249f
commit
30daa4627e
7 changed files with 93 additions and 26 deletions
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue