Class CommandInteraction<Cached>Abstract

Type Parameters

Hierarchy

Constructors

Properties

appPermissions: Readonly<PermissionsBitField>
applicationId: string
authorizingIntegrationOwners: APIAuthorizingIntegrationOwnersMap
channelId: string
client: Client<true>
commandGuildId: null | string
commandId: string
commandName: string
context: null | InteractionContextType
deferred: boolean
entitlements: Collection<string, Entitlement>
ephemeral: null | boolean
guildId: CacheTypeReducer<Cached, string, string, string, null | string>
guildLocale: CacheTypeReducer<Cached, Locale, Locale, Locale, null | Locale>
id: string
locale: Locale
memberPermissions: CacheTypeReducer<Cached, Readonly<PermissionsBitField>, Readonly<PermissionsBitField>, Readonly<PermissionsBitField>, null | Readonly<PermissionsBitField>>
options: Omit<CommandInteractionOptionResolver<Cached>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getUser" | "getMember" | "getAttachment" | "getNumber" | "getInteger" | "getString" | "getChannel" | "getBoolean" | "getSubcommandGroup" | "getSubcommand">
replied: boolean
token: string
user: User
version: number

Accessors

  • get createdAt(): Date
  • Returns Date

  • get createdTimestamp(): number
  • Returns number

Methods

  • Parameters

    Returns Promise<void>

  • Parameters

    • Optional message: string

    Returns Promise<Message<BooleanCache<Cached>>>

  • Returns Promise<void>

    Deprecated

    Sending a premium-style button is the new Discord behaviour.

  • Parameters

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

    Returns unknown

  • Returns string

Generated using TypeDoc