fix/admin-claim-armband
This commit is contained in:
1 parent
f6370a1ea2
commit
c8821e70a2
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -260,7 +260,7 @@ module.exports = {
|
||||
} else if (args[0].name == 'claim-armband') {
|
||||
|
||||
// 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 (GuildDB.factionArmbands[args[0].value]) {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "dayz-armbands",
|
||||
"version": "8.10.2",
|
||||
"version": "8.10.3",
|
||||
"description": "A General Purpose Discord Bot for DayZ Servers.",
|
||||
"main": "index.js",
|
||||
"nodemonConfig": {
|
||||
|
||||
Reference in new issue
Block a user