Skip to content

Commit

Permalink
Allow 2 length guesses
Browse files Browse the repository at this point in the history
Allows for some aliases
  • Loading branch information
Glazelf authored Jan 7, 2025
1 parent 574523f commit 3e464b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/interactionCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export default async (client, interaction) => {
.setLabel("Put in your guess!")
.setPlaceholder("Azelf-Mega-Y")
.setStyle(TextInputStyle.Short)
.setMinLength(3) // Mew, Muk etc. are the shortest names at 3 characters
.setMinLength(2) // Mew, Muk etc. are the shortest names at 3 characters. Set to 2 to allow for 2 character aliases like p2, pz.
.setMaxLength(25) // Urshifu-Rapid-Strike-Gmax and Dudunsparce-Three-Segment are the longest names at 25 characters
.setRequired(true);
const pkmQuizActionRow = new ActionRowBuilder()
Expand Down

0 comments on commit 3e464b0

Please sign in to comment.