Interface PagesInteraction

Hierarchy

  • ChatInputCommandInteraction

    Hierarchy

    • PagesInteraction

Properties

appPermissions: null | Readonly<PermissionsBitField>
applicationId: string
channelId: string
client: Client<boolean>
commandGuildId: null | string
commandId: string
commandName: string
commandType: ChatInput
deferred: boolean
ephemeral: null | boolean
guildId: null | string
guildLocale: null | Locale
id: string
locale: Locale
member: null | APIInteractionGuildMember | GuildMember
memberPermissions: null | Readonly<PermissionsBitField>
options: Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused">
pagesBuilder: (() => PagesBuilder)

Type declaration

replied: boolean
token: string
type: ApplicationCommand
user: User
version: number
webhook: InteractionWebhook

Accessors

  • get channel(): CacheTypeReducer<Cached, null | GuildTextBasedChannel, null | GuildTextBasedChannel, null | GuildTextBasedChannel, null | TextBasedChannel>
  • Returns CacheTypeReducer<Cached, null | GuildTextBasedChannel, null | GuildTextBasedChannel, null | GuildTextBasedChannel, null | TextBasedChannel>

  • get command(): null | ApplicationCommand<{}> | ApplicationCommand<{ guild: GuildResolvable }>
  • Returns null | ApplicationCommand<{}> | ApplicationCommand<{ guild: GuildResolvable }>

  • get createdAt(): Date
  • Returns Date

  • get createdTimestamp(): number
  • Returns number

  • get guild(): CacheTypeReducer<Cached, Guild, null, null | Guild, null | Guild>
  • Returns CacheTypeReducer<Cached, Guild, null, null | Guild, null | Guild>

Methods

  • Parameters

    • options: AwaitModalSubmitOptions<ModalSubmitInteraction<CacheType>>

    Returns Promise<ModalSubmitInteraction<CacheType>>

  • Parameters

    • options: InteractionDeferReplyOptions & { fetchReply: true }

    Returns Promise<Message<boolean>>

  • Parameters

    • Optional options: InteractionDeferReplyOptions

    Returns Promise<InteractionResponse<boolean>>

  • Returns Promise<void>

  • Parameters

    • options: string | MessagePayload | WebhookEditMessageOptions

    Returns Promise<Message<boolean>>

  • Returns Promise<Message<boolean>>

  • Parameters

    • options: string | InteractionReplyOptions | MessagePayload

    Returns Promise<Message<boolean>>

  • Returns this is ChatInputCommandInteraction<"cached">

  • Returns this is ChatInputCommandInteraction<"raw" | "cached">

  • Returns this is ChatInputCommandInteraction<"raw">

  • Returns this is AutocompleteInteraction<CacheType>

  • Returns this is ButtonInteraction<CacheType>

  • Returns this is ChatInputCommandInteraction<CacheType>

  • Returns this is CommandInteraction<CacheType>

  • Returns this is ContextMenuCommandInteraction<CacheType>

  • Returns this is MessageComponentInteraction<CacheType>

  • Returns this is MessageContextMenuCommandInteraction<CacheType>

  • Returns this is ModalSubmitInteraction<CacheType>

  • Returns this is PagesInteraction & InteractionResponseFields<CacheType>

  • Returns this is SelectMenuInteraction<CacheType>

  • Returns this is UserContextMenuCommandInteraction<CacheType>

  • Parameters

    • options: InteractionReplyOptions & { fetchReply: true }

    Returns Promise<Message<boolean>>

  • Parameters

    • options: string | InteractionReplyOptions | MessagePayload

    Returns Promise<InteractionResponse<boolean>>

  • Parameters

    • modal: APIModalInteractionResponseCallbackData | JSONEncodable<APIModalInteractionResponseCallbackData> | ModalComponentData

    Returns Promise<void>

  • Parameters

    • Rest ...props: Record<string, string | boolean>[]

    Returns unknown

  • Returns string

  • Returns string

Generated using TypeDoc