BIG_INT application command option type
#8344
Unanswered
IllagerCaptain
asked this question in
API Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My idea for its implementation would be that it is sent to the bot as a string, but Discord on their end performs validation to ensure it is a valid integer. It would support
min_valueandmax_value.There are just some cases where numbers below 253 are just not enough.
In my specific case my bot has an input for a bitfield, but I had to switch it to use strings as there grew a need for huge bitfields, and in my opinion it's bad UX to not tell the user their input is invalid until after they send the command.
Regex strings would also work but I do not see that happening.
Beta Was this translation helpful? Give feedback.
All reactions