Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UnknownInteraction<T>

Type parameters

Hierarchy

Index

Constructors

constructor

Properties

acknowledged

acknowledged: boolean

Optional appPermissions

appPermissions: Permission

applicationID

applicationID: string

Optional channel

channel: T

createdAt

createdAt: number

Optional data

data: unknown

Optional guildID

guildID: string

id

id: string

Optional member

member: Member

Optional message

token

token: string

type

type: number

Optional user

user: User

version

version: number

Methods

acknowledge

  • Parameters

    Returns Promise<void>

createFollowup

createMessage

defer

  • defer(flags?: number): Promise<void>
  • Parameters

    • Optional flags: number

    Returns Promise<void>

deferUpdate

  • deferUpdate(): Promise<void>
  • Returns Promise<void>

deleteMessage

  • deleteMessage(messageID: string): Promise<void>
  • Parameters

    • messageID: string

    Returns Promise<void>

deleteOriginalMessage

  • deleteOriginalMessage(): Promise<void>
  • Returns Promise<void>

editMessage

editOriginalMessage

editParent

getOriginalMessage

inspect

pong

  • pong(): Promise<void>
  • Returns Promise<void>

result

toJSON

  • Parameters

    • Optional props: string[]

    Returns JSONCache

toString

  • toString(): string
  • Returns string

Static from

Static getCreatedAt

  • getCreatedAt(id: string): number
  • Parameters

    • id: string

    Returns number

Static getDiscordEpoch

  • getDiscordEpoch(id: string): number

Generated using TypeDoc