diff --git a/deno/payloads/v10/_interactions/responses.ts b/deno/payloads/v10/_interactions/responses.ts index d9c610cc..344f5035 100644 --- a/deno/payloads/v10/_interactions/responses.ts +++ b/deno/payloads/v10/_interactions/responses.ts @@ -1,6 +1,5 @@ import type { RESTPostAPIWebhookWithTokenJSONBody } from '../../../v10.ts'; import type { APIActionRowComponent, APIModalActionRowComponent } from '../channel.ts'; -import type { MessageFlags } from '../mod.ts'; import type { APIApplicationCommandOptionChoice } from './applicationCommands.ts'; /** @@ -120,10 +119,7 @@ export enum InteractionResponseType { /** * https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-interaction-callback-data-structure */ -export type APIInteractionResponseCallbackData = Omit< - RESTPostAPIWebhookWithTokenJSONBody, - 'avatar_url' | 'username' -> & { flags?: MessageFlags }; +export type APIInteractionResponseCallbackData = Omit; export interface APICommandAutocompleteInteractionResponseCallbackData { choices?: APIApplicationCommandOptionChoice[]; diff --git a/deno/payloads/v9/_interactions/responses.ts b/deno/payloads/v9/_interactions/responses.ts index 174dcc72..4ef60b21 100644 --- a/deno/payloads/v9/_interactions/responses.ts +++ b/deno/payloads/v9/_interactions/responses.ts @@ -1,6 +1,5 @@ import type { RESTPostAPIWebhookWithTokenJSONBody } from '../../../v9.ts'; import type { APIActionRowComponent, APIModalActionRowComponent } from '../channel.ts'; -import type { MessageFlags } from '../mod.ts'; import type { APIApplicationCommandOptionChoice } from './applicationCommands.ts'; /** @@ -120,10 +119,7 @@ export enum InteractionResponseType { /** * https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-interaction-callback-data-structure */ -export type APIInteractionResponseCallbackData = Omit< - RESTPostAPIWebhookWithTokenJSONBody, - 'avatar_url' | 'username' -> & { flags?: MessageFlags }; +export type APIInteractionResponseCallbackData = Omit; export interface APICommandAutocompleteInteractionResponseCallbackData { choices?: APIApplicationCommandOptionChoice[]; diff --git a/payloads/v10/_interactions/responses.ts b/payloads/v10/_interactions/responses.ts index 42d277e7..9eaa8b0f 100644 --- a/payloads/v10/_interactions/responses.ts +++ b/payloads/v10/_interactions/responses.ts @@ -1,6 +1,5 @@ import type { RESTPostAPIWebhookWithTokenJSONBody } from '../../../v10'; import type { APIActionRowComponent, APIModalActionRowComponent } from '../channel'; -import type { MessageFlags } from '../index'; import type { APIApplicationCommandOptionChoice } from './applicationCommands'; /** @@ -120,10 +119,7 @@ export enum InteractionResponseType { /** * https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-interaction-callback-data-structure */ -export type APIInteractionResponseCallbackData = Omit< - RESTPostAPIWebhookWithTokenJSONBody, - 'avatar_url' | 'username' -> & { flags?: MessageFlags }; +export type APIInteractionResponseCallbackData = Omit; export interface APICommandAutocompleteInteractionResponseCallbackData { choices?: APIApplicationCommandOptionChoice[]; diff --git a/payloads/v9/_interactions/responses.ts b/payloads/v9/_interactions/responses.ts index a78ae723..12dcf5c1 100644 --- a/payloads/v9/_interactions/responses.ts +++ b/payloads/v9/_interactions/responses.ts @@ -1,6 +1,5 @@ import type { RESTPostAPIWebhookWithTokenJSONBody } from '../../../v9'; import type { APIActionRowComponent, APIModalActionRowComponent } from '../channel'; -import type { MessageFlags } from '../index'; import type { APIApplicationCommandOptionChoice } from './applicationCommands'; /** @@ -120,10 +119,7 @@ export enum InteractionResponseType { /** * https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-interaction-callback-data-structure */ -export type APIInteractionResponseCallbackData = Omit< - RESTPostAPIWebhookWithTokenJSONBody, - 'avatar_url' | 'username' -> & { flags?: MessageFlags }; +export type APIInteractionResponseCallbackData = Omit; export interface APICommandAutocompleteInteractionResponseCallbackData { choices?: APIApplicationCommandOptionChoice[];