Optional
Forcefalse
Optional
RESTOptionsREST Options are used for REST requests. You can change some properties there. This includes some properties like the baseURL and much more.
Optional
collectionOptional
announcementOptional
announcements?: numberOptional
calendarOptional
docOptional
docs?: numberOptional
messages?: numberOptional
scheduledOptional
scheduledOptional
threadOptional
threads?: numberOptional
connectionThis boolean is used to enable or disable the > Connection established.
message when
connection is successfully established.
The bot's bearer token, needed to connect to the bot.
Optional
waitIf true, will wait for caching before emitting the event.
This will increase the event emit latency, but ensure that you receive the cached items in time.
By disabling this, you reduce latency between you & Guilded, and won't receive cached items in time.
true
NOT RECOMMENDED, CAN BREAK THINGS
REST methods are used to communicate with the Guilded by sending requests. This feature was included in previous TouchGuild versions but we've changed how we manage REST requests.
Forcing disabling REST methods may crash the library when receiving events, reorganizing cache hierarchy, which means that they are used internally, you can still disable those methods by setting this boolean to
true
, be aware that it isn't recommended.