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 option
.setName("ign") .setName("ign")
.setDescription("The player's IGN.") .setDescription("The player's IGN.")
.setMinLength(3)
.setMaxLength(16)
.setRequired(true) .setRequired(true)
) )
.setDMPermission(false), .setDMPermission(false),

View File

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

View File

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

View File

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