class BaseInteraction
implements Model
Re-export
Abstract
import { BaseInteraction } from "https://deno.land/x/biscuit@0.2.4/mod.ts";
Constructors
new
BaseInteraction(session: Session, data: DiscordInteraction)Properties
optional
applicationId: Snowflakeoptional
appPermissions: Permsisionsoptional
channelId: Snowflakereadonly
createdAt: Dateoptional
guildId: Snowflakereadonly
id: Snowflakeoptional
member: Memberreadonly
session: Sessiontype: InteractionTypes
optional
user: UserMethods
defer()
deleteFollowUp(messageId: Snowflake, threadId?: Snowflake): Promise<void>
editFollowUp(messageId: Snowflake, options?: { threadId: Snowflake; }): Promise<Message>
editReply(options: EditWebhookMessage & { messageId?: Snowflake; }): Promise<Message | undefined>
fetchFollowUp(messageId: Snowflake, threadId?: Snowflake): Promise<Message | undefined>
isAutoComplete(): this is AutoCompleteInteraction
isCommand(): this is CommandInteraction
isComponent(): this is ComponentInteraction
isModalSubmit(): this is ModalSubmitInteraction
isPing(): this is PingInteraction
respond(resp: InteractionResponse): Promise<Message | undefined>
respond(resp: InteractionResponseWith): Promise<Message | undefined>
respondWith(resp: InteractionApplicationCommandCallbackData): Promise<Message | undefined>
sendFollowUp(options: InteractionApplicationCommandCallbackData): Promise<Message>