x
This commit is contained in:
parent
b775d3e323
commit
4462d7d832
1 changed files with 3 additions and 3 deletions
|
@ -45,13 +45,13 @@ export interface InteractionMessageOptions {
|
||||||
tts?: boolean
|
tts?: boolean
|
||||||
flags?: number | InteractionResponseFlags[]
|
flags?: number | InteractionResponseFlags[]
|
||||||
allowedMentions?: AllowedMentionsPayload
|
allowedMentions?: AllowedMentionsPayload
|
||||||
|
/** Whether the Message Response should be Ephemeral (only visible to User) or not */
|
||||||
|
ephemeral?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface InteractionResponse extends InteractionMessageOptions {
|
export interface InteractionResponse extends InteractionMessageOptions {
|
||||||
/** Type of Interaction Response */
|
/** Type of Interaction Response */
|
||||||
type?: InteractionResponseType
|
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 */
|
/** Represents a Channel Object for an Option in Slash Command */
|
||||||
|
@ -239,7 +239,7 @@ export class Interaction extends SnowflakeBase {
|
||||||
content: options.content,
|
content: options.content,
|
||||||
embeds: options.embeds,
|
embeds: options.embeds,
|
||||||
flags: options.flags,
|
flags: options.flags,
|
||||||
allowedMentions: options.allowedMentions
|
allowedMentions: options.allowedMentions,
|
||||||
})
|
})
|
||||||
} else
|
} else
|
||||||
await this.respond(
|
await this.respond(
|
||||||
|
|
Loading…
Reference in a new issue