Interface ClientOptions

Hierarchy

  • ClientOptions

Properties

REST?: boolean

REST methods are used to communicate with the Guilded by sending requests. You can disable those methods by setting this boolean to false.

Default Value

true

RESTOptions?: RESTOptions

REST Options are used for REST requests. You can change some properties there. This includes some properties like the baseURL and much more.

collectionLimits?: {
    docs?: number;
    messages?: number;
    scheduledEvents?: number;
    scheduledEventsRSVPS?: number;
    threadComments?: number;
    threads?: number;
}

Type declaration

  • Optional docs?: number
  • Optional messages?: number
  • Optional scheduledEvents?: number
  • Optional scheduledEventsRSVPS?: number
  • Optional threadComments?: number
  • Optional threads?: number
token: string

The bot's bearer token, needed to connect to the bot.