Added Logging to Blacklist

This commit is contained in:
DuAnti7423 committed 2021-05-08 23:55:57 +02:00
1 parent 3d7058dccd
commit 157b93239a
2 files changed
+14

No files matched your search

+11
View File
@@ -86,6 +86,17 @@ module.exports = {
embed: embed5
});
const logEmbed = new Discord.MessageEmbed()
.setTitle(supportbot.BlacklistTitle)
.setThumbnail(supportbot.ModThumbnail)
.addField('Banned User:', user)
.addField('Staff Member', message.author)
.setFooter(supportbot.EmbedFooter)
.setColor(supportbot.BlacklistColour)
.setTimestamp()
locateChannel.send({ embed: logEmbed });
}
};
+3
View File
@@ -173,6 +173,9 @@ PruneLogTitle: "Bulk Delete"
PruneThumbnail: "https://i.imgur.com/OAgW2vR.png"
PruneColour: "#1BA30C"
BlacklistTitle: "Blacklisted User"
BlacklistColour: "#000000"
# General Command Configuration