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.
Properties
Section titled “Properties”bucket
Section titled “bucket”bucket:
string
Defined in: packages/rest/src/identity.ts:12
global?
Section titled “global?”
optionalglobal?:string
Defined in: packages/rest/src/identity.ts:13