diff --git a/src/structures/slash.ts b/src/structures/slash.ts index 0f61cc2..42d1e64 100644 --- a/src/structures/slash.ts +++ b/src/structures/slash.ts @@ -31,7 +31,7 @@ import { TextChannel } from './textChannel.ts' import { User } from './user.ts' interface WebhookMessageOptions extends MessageOptions { - embeds?: Embed[] + embeds?: Array name?: string avatar?: string } @@ -41,7 +41,7 @@ type AllWebhookMessageOptions = string | WebhookMessageOptions /** Interaction Message related Options */ export interface InteractionMessageOptions { content?: string - embeds?: EmbedPayload[] + embeds?: Array tts?: boolean flags?: number | InteractionResponseFlags[] allowedMentions?: AllowedMentionsPayload @@ -254,7 +254,7 @@ export class Interaction extends SnowflakeBase { /** Edit the original Interaction response */ async editResponse(data: { content?: string - embeds?: EmbedPayload[] + embeds?: Array flags?: number | number[] allowedMentions?: AllowedMentionsPayload }): Promise {