From fd8642b209e908cd7f97e0762d02b8a5761a91fa Mon Sep 17 00:00:00 2001 From: Yaikava <83710104+Yaikava@users.noreply.github.com> Date: Thu, 26 Jan 2023 15:35:45 +0000 Subject: [PATCH] Interaction types - remove member,channel,role from value type (#2743) https://discord.com/channels/785384884197392384/1067265182776176690/1068189883073572924 --- packages/types/src/discord.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/types/src/discord.ts b/packages/types/src/discord.ts index 3ef41afb0..83c3a6aa1 100644 --- a/packages/types/src/discord.ts +++ b/packages/types/src/discord.ts @@ -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 */