Skip to content

Is it possible to create a GuildChatInputCommand with a dropdown menu for one parameter? #988

Answered by lukellmann
N0m4n904 asked this question in Help
Discussion options

You must be logged in to vote

Yes, use choice:

srtring("version", "XOS-Version (e.g. 14)") {
    required = true
    choice("display name 1", "value 1")
    choice("display name 2", "value 2")
    // ...
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by N0m4n904
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants