- Preparing search index...
- The search index is not available
DJS-Bot
Variable DefaultRestOptionsConst
DefaultRestOptions: { agent: null; api: "https://discord.com/api"; authPrefix: "Bot"; cdn: "https://cdn.discordapp.com"; globalRequestsPerSecond: 50; handlerSweepInterval: 3600000; hashLifetime: 86400000; hashSweepInterval: 14400000; headers: {}; invalidRequestWarningInterval: 0; makeRequest: ((url,
init) => Promise<ResponseLike>); mediaProxy: "https://media.discordapp.net"; offset: 50; rejectOnRateLimit: null; retries: 3; timeout: 15000; userAgentAppendix: string; version: "10"; }
Type declaration
-
Readonly
agent: null
-
Readonly
api: "https://discord.com/api"
-
Readonly
authPrefix: "Bot"
-
Readonly
cdn: "https://cdn.discordapp.com"
-
Readonly
globalRequestsPerSecond: 50
-
Readonly
handlerSweepInterval: 3600000
-
Readonly
hashLifetime: 86400000
-
Readonly
hashSweepInterval: 14400000
-
Readonly
headers: {}
-
Readonly
invalidRequestWarningInterval: 0
-
Readonly
makeRequest: ((url, init) => Promise<ResponseLike>)
-
- (url, init): Promise<ResponseLike>
-
Parameters
-
url: string
-
init: undici.RequestInit
-
Readonly
mediaProxy: "https://media.discordapp.net"
-
Readonly
offset: 50
-
Readonly
rejectOnRateLimit: null
-
Readonly
retries: 3
-
Readonly
timeout: 15000
-
Readonly
userAgentAppendix: string
-
Readonly
version: "10"