This commit is contained in:
DjDeveloperr 2021-03-29 05:43:50 -07:00
parent b775d3e323
commit 4462d7d832

View file

@ -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(