Update guildMemberAdd.js

This commit is contained in:
ItzEmerald authored and GitHub committed 2020-06-20 00:18:17 +01:00
1 parent bdb8389d8d
commit 4ae6dc3a69
1 file changed
+11 -1
+11 -1
View File
@@ -9,5 +9,15 @@ const supportbot = yaml.load(fs.readFileSync('./supportbot-config.yml', 'utf8'))
module.exports = async (bot) => {
if (supportbot.SystemMessages === "true") {
const SystemChannel = message.guild.channels.cache.find(channel => channel.name === supportbot.SystemMessage_Channel)
};
if (!SystemChannel) return;
if (supportbot.SystemMessage_Embed === "true") {
const GuildAddMember = new Discord.MessageEmbed()
}
}
};