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< 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. */