Interaction types - remove member,channel,role from value type (#2743)

https://discord.com/channels/785384884197392384/1067265182776176690/1068189883073572924
This commit is contained in:
Yaikava
2023-01-26 15:35:45 +00:00
committed by GitHub
parent ef91f52230
commit fd8642b209

View File

@@ -1370,7 +1370,7 @@ export interface DiscordInteractionDataOption {
/** Value of application command option type */
type: ApplicationCommandOptionTypes
/** Value of the option resulting from user input */
value?: string | boolean | number | DiscordMember | DiscordChannel | DiscordRole
value?: string | boolean | number
/** Present if this option is a group or subcommand */
options?: DiscordInteractionDataOption[]
/** `true` if this option is the currently focused option for autocomplete */