Skip to content
Troptop edited this page Mar 2, 2026 · 1 revision

A Client is a main "overseer" of all managed/connected ERLC servers. When creating a Client, there are a few available options:

Option Default Description
globalKey nil Global authentication key provided by PRC to large services for lighter ratelimits
logLevel logLevel.info The level to use for logging (see Enumerations)
dateTime "%F %T" The date and time format to use logging
apiVersion 2 The PRC API version to use, support for v1 is not guaranteed
ttl 5 The amount of time (in seconds) of which cached data is considered "up-to-date" (otherwise it will be re-fetched)

Clone this wiki locally