Skip to content

SlashCommandStringOption.addChoices() quesiton #7825

Closed Answered by vladfrangu
Mirai-Miki asked this question in Q&A
Discussion options

You must be logged in to vote

In that version, just pass in an object to addChoices (.addChoices({ name, value })), but in a future version the array you mentioned will be the correct way of using the method

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Mirai-Miki
Comment options

You must be logged in to vote
5 replies
@mrcordova

This comment was marked as off-topic.

@almostSouji

This comment was marked as off-topic.

@mrcordova

This comment was marked as off-topic.

@FelipeTolentino
Comment options

@Sowgro
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants