mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-17 19:58:18 +00:00
idk
This commit is contained in:
@@ -188,7 +188,7 @@ async function runMethod(
|
|||||||
) {
|
) {
|
||||||
eventHandlers.debug?.(
|
eventHandlers.debug?.(
|
||||||
{
|
{
|
||||||
type: "requestManager",
|
type: "requestCreate",
|
||||||
data: { method, url, body, retryCount, bucketID },
|
data: { method, url, body, retryCount, bucketID },
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
@@ -228,14 +228,14 @@ async function runMethod(
|
|||||||
|
|
||||||
eventHandlers.debug?.(
|
eventHandlers.debug?.(
|
||||||
{
|
{
|
||||||
type: "requestManagerFetching",
|
type: "requestFetch",
|
||||||
data: { method, url, body, retryCount, bucketID },
|
data: { method, url, body, retryCount, bucketID },
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
const response = await fetch(urlToUse, createRequestBody(body, method));
|
const response = await fetch(urlToUse, createRequestBody(body, method));
|
||||||
eventHandlers.debug?.(
|
eventHandlers.debug?.(
|
||||||
{
|
{
|
||||||
type: "requestManagerFetched",
|
type: "requestFetched",
|
||||||
data: { method, url, body, retryCount, bucketID, response },
|
data: { method, url, body, retryCount, bucketID, response },
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
@@ -269,7 +269,7 @@ async function runMethod(
|
|||||||
|
|
||||||
eventHandlers.debug?.(
|
eventHandlers.debug?.(
|
||||||
{
|
{
|
||||||
type: "requestManagerSuccess",
|
type: "requestSuccess",
|
||||||
data: { method, url, body, retryCount, bucketID },
|
data: { method, url, body, retryCount, bucketID },
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -50,11 +50,11 @@ export interface DebugArg {
|
|||||||
type?:
|
type?:
|
||||||
| "gatewayIdentify"
|
| "gatewayIdentify"
|
||||||
| "error"
|
| "error"
|
||||||
| "requestManager"
|
|
||||||
| "globallyRateLimited"
|
| "globallyRateLimited"
|
||||||
| "requestManagerSuccess"
|
| "requestCreate"
|
||||||
| "requestManagerFetching"
|
| "requestSuccess"
|
||||||
| "requestManagerFetched"
|
| "requestFetch"
|
||||||
|
| "requestFetched"
|
||||||
| "requestMembersProcessing"
|
| "requestMembersProcessing"
|
||||||
| "gatewayHeartbeat"
|
| "gatewayHeartbeat"
|
||||||
| "gatewayHeartbeatStopped"
|
| "gatewayHeartbeatStopped"
|
||||||
|
|||||||
Reference in New Issue
Block a user