Shards

I Was Creating Shard System In My Bot But When I Run Code Console Is Running 2 Times And Shows This Error
[ AntiCrashDetection ]:- Unhandled Rejection/Catch
Response {
[Symbol(realm)]: null,
[Symbol(state)]: {
aborted: false,
rangeRequested: false,
timingAllowPassed: true,
requestIncludesCredentials: true,
type: 'default',
status: 429,
timingInfo: {
startTime: 2642.9780999999493,
redirectStartTime: 0,
redirectEndTime: 0,
postRedirectStartTime: 2642.9780999999493,
finalServiceWorkerStartTime: 0,
finalNetworkResponseStartTime: 0,
finalNetworkRequestStartTime: 0,
endTime: 0,
encodedBodySize: 92,
decodedBodySize: 92,
finalConnectionTimingInfo: null
},
cacheState: '',
statusText: 'Too Many Requests',
headersList: HeadersList {
cookies: [Array],
[Symbol(headers map)]: [Map],
[Symbol(headers map sorted)]: null
},
urlList: [ [URL] ],
body: { stream: undefined }
},
[Symbol(headers)]: HeadersList {
cookies: [
'__dcfduid=2d687a60e4f211ed8a4c667f3c8d60b7; Expires=Tue, 25-Apr-2028 11:53:51 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/',
'__sdcfduid=2d687a60e4f211ed8a4c667f3c8d60b7fc5e0814bebaf92ba4f5ccecee58dd0409723fb28b252e927a71cde8e87d2c83; Expires=Tue, 25-Apr-2028 11:53:51 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/',

}
[ AntiCrashDetection ]:- Unhandled Rejection/Catch
Response {
[Symbol(realm)]: null,
[Symbol(state)]: {
aborted: false,
rangeRequested: false,
timingAllowPassed: true,
requestIncludesCredentials: true,
type: 'default',
status: 429,
timingInfo: {
startTime: 2642.9780999999493,
redirectStartTime: 0,
redirectEndTime: 0,
postRedirectStartTime: 2642.9780999999493,
finalServiceWorkerStartTime: 0,
finalNetworkResponseStartTime: 0,
finalNetworkRequestStartTime: 0,
endTime: 0,
encodedBodySize: 92,
decodedBodySize: 92,
finalConnectionTimingInfo: null
},
cacheState: '',
statusText: 'Too Many Requests',
headersList: HeadersList {
cookies: [Array],
[Symbol(headers map)]: [Map],
[Symbol(headers map sorted)]: null
},
urlList: [ [URL] ],
body: { stream: undefined }
},
[Symbol(headers)]: HeadersList {
cookies: [
'__dcfduid=2d687a60e4f211ed8a4c667f3c8d60b7; Expires=Tue, 25-Apr-2028 11:53:51 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/',
'__sdcfduid=2d687a60e4f211ed8a4c667f3c8d60b7fc5e0814bebaf92ba4f5ccecee58dd0409723fb28b252e927a71cde8e87d2c83; Expires=Tue, 25-Apr-2028 11:53:51 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/',

}
1 Reply
d.js toolkit
d.js toolkit14mo ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.