fix/command types

This commit is contained in:
SowinskiBraeden committed 2025-09-30 12:13:12 -07:00
1 parent 77645c75b1
commit 2889ff978a
10 files changed
+91 -91

No files matched your search

+10 -10
View File
@@ -18,31 +18,31 @@ module.exports = {
name: "initialize",
description: "Connect your Nitrado server to the bot",
value: "initialize",
type: ApplicationCommandOptionType.SubCommand,
type: ApplicationCommandOptionType.Subcommand,
},
{
name: "disconnect",
description: "Delete your Nitrado server from the bot database",
value: "disconnect",
type: ApplicationCommandOptionType.SubCommand,
type: ApplicationCommandOptionType.Subcommand,
},
{
name: "credentials-status",
description: "Check the status of your Nitrado Credentials",
value: "credentials-status",
type: ApplicationCommandOptionType.SubCommand,
type: ApplicationCommandOptionType.Subcommand,
},
{
name: "retry-credentials",
description: "If your credentials are marked as FAILED, try retreiving Nitrado logs again.",
value: "retry-credentials",
type: ApplicationCommandOptionType.SubCommand,
type: ApplicationCommandOptionType.Subcommand,
},
{
name: "ban-player",
description: "Ban a player from the DayZ server",
value: "ban-player",
type: ApplicationCommandOptionType.SubCommand,
type: ApplicationCommandOptionType.Subcommand,
options: [{
name: "gamertag",
description: "gamertag of the player to ban.",
@@ -54,7 +54,7 @@ module.exports = {
name: "unban-player",
description: "Unban a player from the DayZ server",
value: "unban-player",
type: ApplicationCommandOptionType.SubCommand,
type: ApplicationCommandOptionType.Subcommand,
options: [{
name: "gamertag",
description: "gamertag of the player to unban.",
@@ -67,17 +67,17 @@ module.exports = {
name: "restart",
description: "Restart the DayZ Server",
value: "restart",
type: ApplicationCommandOptionType.SubCommand,
type: ApplicationCommandOptionType.Subcommand,
}, {
name: "auto-restart",
description: "Enable/Disable periodic server checks and restart if stopped",
value: "auto-restart",
type: ApplicationCommandOptionType.SubCommand,
type: ApplicationCommandOptionType.Subcommand,
}, {
name: "disable-base-damage",
description: "Disable/Enable base damage",
value: "disable-base-damage",
type: ApplicationCommandOptionType.SubCommand,
type: ApplicationCommandOptionType.Subcommand,
options: [{
name: "preference",
description: "DisableBaseDamage Preference",
@@ -89,7 +89,7 @@ module.exports = {
name: "disable-container-damage",
description: "Disable/Enable container damage",
value: "disable-container-damage",
type: ApplicationCommandOptionType.SubCommand,
type: ApplicationCommandOptionType.Subcommand,
options: [{
name: "preference",
description: "disableContainerDamage Preference",