From b30dd053a8a7396e34ead2384c0ecf9205f0a08c Mon Sep 17 00:00:00 2001 From: ITOH Date: Thu, 6 May 2021 13:42:38 +0100 Subject: [PATCH 1/2] Update rest.ts --- src/rest/rest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest/rest.ts b/src/rest/rest.ts index 2f7997780..91aa47f6c 100644 --- a/src/rest/rest.ts +++ b/src/rest/rest.ts @@ -14,7 +14,7 @@ export const rest = { token: "", /** The maximum amount of retries allowed */ maxRetryCount: 10, - apiVersion: "8", + apiVersion: "9", /** The secret authorization key to confirm that this was a request made by you and not a DDOS attack. */ authorization: "discordeno_best_lib_ever", pathQueues: new Map< From d56279d75cfd521f0d221b49b1b35ab69703ae87 Mon Sep 17 00:00:00 2001 From: ITOH Date: Thu, 6 May 2021 13:43:14 +0100 Subject: [PATCH 2/2] Update ws.ts --- src/ws/ws.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ws/ws.ts b/src/ws/ws.ts index a66e3f816..2ff84d92b 100644 --- a/src/ws/ws.ts +++ b/src/ws/ws.ts @@ -49,7 +49,7 @@ export const ws = { }, botGatewayData: { /** The WSS URL that can be used for connecting to the gateway. */ - url: "wss://gateway.discord.gg/?v=8&encoding=json", + url: "wss://gateway.discord.gg/?v=9&encoding=json", /** The recommended number of shards to use when connecting. */ shards: 1, /** Info on the current start limit. */