We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab95010 commit 523c36cCopy full SHA for 523c36c
src/discord/discord.ts
@@ -1,4 +1,3 @@
1
-import type { WebSocketManager } from "@discordjs/ws/dist/index";
2
import {
3
Client,
4
Events,
@@ -26,7 +25,8 @@ const client = new Client({
26
25
ws: {
27
buildStrategy: (manager) => {
28
return new (class CompressionSimpleShardingStrategy extends SimpleShardingStrategy {
29
- constructor(manager: WebSocketManager) {
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ constructor(manager: any) {
30
manager.options.compression = null;
31
super(manager);
32
}
0 commit comments