Optional allowWhether to allow this request to use the cache or ongoing requests if available
Requests using cache or other requests do not count towards the ratelimit and return a lot faster.
Optional apiThe API key to use in this request
The key has to be registered in the config.
If this is not given, the registered key with the most free requests will be selected.
Optional cacheThe amount of time the request should be cached for, overwrites the defaults specified in the config
Optional fetchWhether to display more precise and additional information
This may cause extra API requests.
false
Optional guildThe name of the guild, case insensitive
Either this, uuid or tag has to be defined. This is overridden by uuid
Optional ignoreWhether to ignore version errors
You can use this to resolve temporary conflicts while the library awaits being updated. Otherwise it should stay enabled.
false
Optional multipleA function that will be executed with each of the choices as a parameter. It may return a Promise of a boolean. In that case, the selector will be executed for all values simultaneously. And the passing element with the lowest index will be selected. If the selector returns false for all choices, the error is thrown regardless
The current choice
The index of the current choice
The array of all choices
True, if the given choice should be selected
Optional priorityWhether this request should be put to the front of the queue, executing before any non-priority requests are handled
false
Optional retriesThe amount of times to retry the request on error
Optional tagThe tag of the guild, case sensitive
Either this, uuid or guild has to be defined. This is overridden by guild and uuid
Optional timeoutThe amount of milliseconds a until the request should be rejected

Optional uuidThe UUID of the guild
Either this, name or tag has to be defined.
Generated using TypeDoc
The options for a guild API request