Updated commands and add min and max length

This commit is contained in:
2024-01-28 12:08:00 +01:00
parent eba7bfad3e
commit 9a9d2a76dd
4 changed files with 9 additions and 1 deletions

View File

@@ -17,6 +17,8 @@ export = {
option
.setName("ign")
.setDescription("The player's IGN.")
.setMinLength(3)
.setMaxLength(16)
.setRequired(true)
)
.setDMPermission(false),

View File

@@ -23,6 +23,8 @@ export = {
option
.setName("ign")
.setDescription("The IGN of the player.")
.setMinLength(3)
.setMaxLength(16)
.setRequired(true)
)
)

View File

@@ -16,6 +16,8 @@ export = {
option
.setName("ign")
.setDescription("Player's name")
.setMinLength(3)
.setMaxLength(16)
.setRequired(true)
)
.setDMPermission(false),

View File

@@ -11,7 +11,7 @@ import { GuildData } from "interfaces"
export = {
name: "verify",
description: "Verify yourself as a member of the server.",
dev: false,
dev: true,
public: true,
data: new SlashCommandBuilder()
@@ -21,6 +21,8 @@ export = {
option
.setName("ign")
.setDescription("Your in-game name.")
.setMinLength(3)
.setMaxLength(16)
.setRequired(true)
)
.setDMPermission(false),