Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AutocompleteInteraction<T>

Type parameters

Hierarchy

Index

Constructors

constructor

Properties

acknowledged

acknowledged: boolean

Optional appPermissions

appPermissions: Permission

applicationID

applicationID: string

channel

channel: T

createdAt

createdAt: number

data

data: { id: string; name: string; options: InteractionDataOptions[]; target_id?: string; type: 1 }

Type declaration

Optional guildID

guildID: string

id

id: string

Optional member

member: Member

token

token: string

type

type: 4

Optional user

user: User

version

version: number

Methods

acknowledge

inspect

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