Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ObjectID<T>

Wrapped representation of Discord user, role, channel or other mentionable Discord arugment object

Type parameters

Hierarchy

  • ObjectID

Index

Constructors

Properties

Methods

Constructors

constructor

  • new ObjectID<T>(id: string, type: T, guild?: Guild): ObjectID<T>

Properties

Optional Readonly guild

guild?: Guild

Guild needed to convert the object

readonly

Readonly id

id: string

Object ID

readonly

Readonly type

type: T

Object type

readonly

Methods

toObject

Generated using TypeDoc