Stricter type checking for string command choices
Hi, was wondering if this is possible.
In this example I am doing a command that can change my bot's status from Online to Invisible/Idle/Dnd.
I want to ensure that the
value
choices in addChoices
have the PresenceStatusData
type in case the string values are changed in a future API.
4 Replies