Skip to content

createRestManager

createRestManager(options): RestManager

Defined in: packages/core/src/rest/manager.ts:91

Creates a discordeno-style RestManager with overridable function properties.

RestManagerOptions

REST manager configuration

RestManager

a new RestManager instance

options.rateLimitStrategy is initialized

returns a RestManager with all methods set

Not idempotent — each call creates a new manager instance