mirror of
https://github.com/DarthKilroy/Spot.git
synced 2025-12-24 20:56:48 +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
|
|
@ -1,5 +1,7 @@
|
|||
const Guild = require('../../model/guild');
|
||||
|
||||
module.exports = async (member) => {
|
||||
Guild.guildMemberAddHandler(member);
|
||||
if ((member.guild === null || isRightGuild(member.guild.id)) && !member.user.bot) {
|
||||
Guild.guildMemberAddHandler(member);
|
||||
}
|
||||
};
|
||||
|
|
@ -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