Add "Member" option type #4411
Unanswered
SuperchupuDev
asked this question in
API Feature Requests & Ideas
Replies: 1 comment
-
Alternatively there may be a field to restrict
|
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Right now, we have the user type for options, which lets you select an user, however, this user can be any user, even if they're not in the server. This leads to custom checks on the dev side to know if the user selected is really in the guild, otherwise causing issues on commands where you need a member such as timeout. The member option type would require you to select a member of the server, so there's no need to have custom error messages when the user you selected is not in the guild. Isn't one of the points of slash commands
having built-in validation?
Beta Was this translation helpful? Give feedback.
All reactions