guildMemberRemove added

This commit is contained in:
ItzEmerald committed 2020-06-21 15:56:16 +01:00
1 parent ecd17a51df
commit ff7ed49905
7 files changed
+67 -9

No files matched your search

+2 -2
View File
@@ -23,11 +23,11 @@ module.exports = async (bot, member) => {
.setDescription(supportbot.WelcomeMessage.replace(/%member%/g, member.user.username).replace(/%guildname%/g, member.guild.name))
.setColor(supportbot.EmbedColour)
if (supportbot.WelcomeMessage_Icon === "BOT") {
if (supportbot.SystemMessage_Icon === "BOT") {
GuildAddMember.setThumbnail(bot.user.displayAvatarURL())
}
if (supportbot.WelcomeMessage_Icon === "USER") {
if (supportbot.SystemMessage_Icon === "USER") {
GuildAddMember.setThumbnail(member.user.displayAvatarURL())
}