debug bot admin role config / combat log detection show attacker name not id

This commit is contained in:
SowinskiBraeden committed 2023-04-03 08:19:28 -07:00
1 parent e1f8c86c9e
commit 7fbf684677
3 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -320,7 +320,7 @@ module.exports = {
} else if (args[0].name == 'bot_admin_role') {
if (args[0].options[0].value == 'add') {
const roleId = args[0].options[0].options[0].value;
const roleId = args[0].options[1].value;
client.dbo.collection("guilds").updateOne({"server.serverID":GuildDB.serverID},{$push: {"server.botAdminRoles": roleId}}, function(err, res) {
if (err) return client.sendInternalError(interaction, err);