diff --git a/commands/config.js b/commands/config.js index f298311..603b163 100644 --- a/commands/config.js +++ b/commands/config.js @@ -203,9 +203,9 @@ module.exports = { ] }, { - name: "admin_role", + name: "admin_ping_role", description: "Admin role to ping in admin logs channel", - value: "admin_role", + value: "admin_ping_role", type: CommandOptions.SubCommand, options: [{ name: "role", @@ -593,7 +593,7 @@ module.exports = { } - case 'admin_role': + case 'admin_ping_role': client.dbo.collection("guilds").updateOne({"server.serverID":GuildDB.serverID},{$set: {"server.adminRole": args[0].options[0].value}}, (err, res) => { if (err) return client.sendInternalError(interaction, err); }); diff --git a/database/guild.js b/database/guild.js index e597492..c3071f6 100644 --- a/database/guild.js +++ b/database/guild.js @@ -94,6 +94,7 @@ module.exports = { linkedGamertagRole: "", memberRole: "", + adminRole: "", combatLogTimer: 5, // minutes } diff --git a/package.json b/package.json index 0ac7804..2aa7d6d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dayzr-bot", - "version": "13.3.9", + "version": "13.3.10", "description": "A General Purpose Discord Bot for DayZ Nitrado Servers.", "main": "index.js", "nodemonConfig": {