Optional
applicationOptional
collectionSet your own limit to how much messages, threads, comments, events.. should be stored in cache before deletion.
Optional
connectionThis boolean is used to enable or disable the > Connection established.
message when
connection is successfully established.
Optional
dataConsent to data collection, enabling us to improve the library, make statistics out of the data we collect, potentially leading us to make decisions based on them.
It can also be used to promote the TouchGuild library and deliver specific information like the average time in ms the gateway takes, leading us to optimize latency, and deliver a better & faster library.
We're using an API to forward collected data.
What is collected?
Data collecting is enabled by default if you use the development build.
Transparency is key, open-source is transparent, feel free to check the source-code.
Optional
forceNOT RECOMMENDED, CAN BREAK THINGS
REST methods are used to communicate with the Guilded API 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,
and more, they are used internally.
Though you can still force disable those methods by setting this boolean to true
, be aware that it isn't recommended at all.
Optional
intentsIntents, they have to be added into this array to enable them, and access to a variety of events and gateway information.
Optional
isFixes & improves Guilded API markdown and makes it Commonmark compliant.
Enabled by default, can be disabled to use old version of the Guilded markdown. (if facing issues for example)
Optional
restREST Options are used for REST requests. You can change some properties there. This includes some properties like the baseURL and much more.
Optional
restREST-Only mode, does not initialize a gateway connection.
The app's bearer token, required to connect to the API.
Optional
updateThis boolean is used to enable or disable the update warning you receive when your version of TouchGuild is no longer the latest anymore.
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.
Optional
wsWebsocket auto reconnect on connection loss.
Application short name, enabling Commands & Interactions (uses slash commands).