From 38b11f40764dd793f9f979450dfa5cd4420421e9 Mon Sep 17 00:00:00 2001 From: DjDeveloperr Date: Sun, 4 Apr 2021 10:14:40 +0530 Subject: [PATCH] fix --- src/structures/slash.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 {