From 4462d7d8324a9a4a17236527d582196633a1858f Mon Sep 17 00:00:00 2001 From: DjDeveloperr Date: Mon, 29 Mar 2021 05:43:50 -0700 Subject: [PATCH] x --- 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 70c5c96..0891f4a 100644 --- a/src/structures/slash.ts +++ b/src/structures/slash.ts @@ -45,13 +45,13 @@ export interface InteractionMessageOptions { tts?: boolean flags?: number | InteractionResponseFlags[] allowedMentions?: AllowedMentionsPayload + /** Whether the Message Response should be Ephemeral (only visible to User) or not */ + ephemeral?: boolean } export interface InteractionResponse extends InteractionMessageOptions { /** Type of Interaction Response */ type?: InteractionResponseType - /** Whether the Message Response should be Ephemeral (only visible to User) or not */ - ephemeral?: boolean } /** Represents a Channel Object for an Option in Slash Command */ @@ -239,7 +239,7 @@ export class Interaction extends SnowflakeBase { content: options.content, embeds: options.embeds, flags: options.flags, - allowedMentions: options.allowedMentions + allowedMentions: options.allowedMentions, }) } else await this.respond(