You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zer0xxxx
changed the title
Constructor for SlashCommandOption/more builder options
Constructor or builder for SlashCommandOption/more builder options
May 28, 2024
Zer0xxxx
changed the title
Constructor or builder for SlashCommandOption/more builder options
Constructor or more builder options for SlashCommandOption
May 28, 2024
Zer0xxxx
changed the title
Constructor or more builder options for SlashCommandOption
[SlashCommandOptions] Be able to pass arguments to the constructor, or more builder options for SlashCommandOption
May 28, 2024
Zer0xxxx
changed the title
[SlashCommandOptions] Be able to pass arguments to the constructor, or more builder options for SlashCommandOption
[SlashCommandStringOptions] Be able to pass arguments to the constructor, or more builder options for SlashCommandStringOption
May 28, 2024
Which application or package is this feature request for?
discord.js
Feature
I would like to be able to build
SlashCommandOption
independently of slash commands. To make the whole thing more composable.Ideal solution or implementation
Be able to instanciate a new SlashCommandOption, and then build it with setName, setDescription, ...
Here, the i18n of the SlashCommandOption is coupled to the creation of the SlashCommand, which is undesirable:
https://discordjs.guide/slash-commands/advanced-creation.html#localizations
Alternative solutions or implementations
No response
Other context
No response
The text was updated successfully, but these errors were encountered: