Update guildMemberAdd.js
This commit is contained in:
1 parent
bdb8389d8d
commit
4ae6dc3a69
1 file changed
+11
-1
@@ -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()
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user