fix/admin-claim-armband

This commit is contained in:
SowinskiBraeden authored and GitHub committed 2023-08-31 20:02:11 -07:00
1 parent f6370a1ea2
commit c8821e70a2
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -260,7 +260,7 @@ module.exports = {
} else if (args[0].name == 'claim-armband') { } else if (args[0].name == 'claim-armband') {
// Handle invalid roles // Handle invalid roles
if (des) return interaction.send({ embeds: [new EmbedBuilder().setColor(client.config.Colors.Yellow).setDescription('**Notice:**\n> This role has been configured to be excluded to claim an armband.')], flags: (1 << 6) }); if (GuildDB.excludedRoles.includes(args[0].options[0].value)) return interaction.send({ embeds: [new EmbedBuilder().setColor(client.config.Colors.Yellow).setDescription('**Notice:**\n> This role has been configured to be excluded to claim an armband.')], flags: (1 << 6) });
// If this faction has an existing record in the db // If this faction has an existing record in the db
if (GuildDB.factionArmbands[args[0].value]) { if (GuildDB.factionArmbands[args[0].value]) {
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "dayz-armbands", "name": "dayz-armbands",
"version": "8.10.2", "version": "8.10.3",
"description": "A General Purpose Discord Bot for DayZ Servers.", "description": "A General Purpose Discord Bot for DayZ Servers.",
"main": "index.js", "main": "index.js",
"nodemonConfig": { "nodemonConfig": {