Skip to content

RequestIdentity

Defined in: packages/rest/src/identity.ts:11

Who a request’s rate limits belong to.

bucket prefixes the bucket key: Discord counts a bot’s buckets per bot, so two bots sharing one Redis must not share counters. global is the scope of the global limit the request counts against, or undefined when it counts against none.

bucket: string

Defined in: packages/rest/src/identity.ts:12


optional global?: string

Defined in: packages/rest/src/identity.ts:13