Skip to content

Slash Command Varargs #162

Answered by tandemdude
JamieBra asked this question in Q&A
Nov 22, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Unfortunately this is not possible as discord does not support variable numbers of arguments. The closest you'd be able to achieve would be taking a string argument (comma or space delimited, etc) and parsing it into multiple arguments yourself.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JamieBra
Comment options

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