Lazuee
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by Lazuee on 8/7/2023 in #djs-questions
SlashCommandBuilder#addStringOption: set(Min/Max)Length is unnecessary when using setChoices
setMinLength and setMaxLength should NOT be use when using setChoices..
setMinLength and setMaxLength should be omitted on the addStringOption typings when using setChoices..
6 replies
DIAdiscord.js - Imagine an app
•Created by Lazuee on 8/7/2023 in #djs-questions
SlashCommandBuilder#addStringOption: set(Min/Max)Length is unnecessary when using setChoices
oooh,. setMinLength and setMaxLength validates the setChoices
value
length. my bad6 replies
DIAdiscord.js - Imagine an app
•Created by Lazuee on 8/7/2023 in #djs-questions
SlashCommandBuilder#addStringOption: set(Min/Max)Length is unnecessary when using setChoices
If it's really unnecessary then setMinLength and setMaxLength should be omitted when using setChoices on the typings.
6 replies
DIAdiscord.js - Imagine an app
•Created by Lazuee on 8/6/2023 in #djs-questions
Type 'X' is not comparable to type 'APIApplicationCommandOption'.
it should be
option.type
not option
6 replies
DIAdiscord.js - Imagine an app
•Created by Lazuee on 8/6/2023 in #djs-questions
Type 'X' is not comparable to type 'APIApplicationCommandOption'.
6 replies
DIAdiscord.js - Imagine an app
•Created by Lazuee on 8/6/2023 in #djs-questions
Type 'X' is not comparable to type 'APIApplicationCommandOption'.
6 replies
DIAdiscord.js - Imagine an app
•Created by Lazuee on 8/6/2023 in #djs-questions
Type 'X' is not comparable to type 'APIApplicationCommandOption'.
discord.js:
14.12.1
node: v18.16.1
6 replies