diff --git a/src/websocket/WebSocket.ts b/src/websocket/WebSocket.ts index f5e0850..972b5ab 100644 --- a/src/websocket/WebSocket.ts +++ b/src/websocket/WebSocket.ts @@ -3,7 +3,7 @@ import type { Client } from '../Client' import { ClientUser } from '../structures' import { Events, WSEvents } from '../Constants' import { Error } from '../errors' -import WebSocket from 'ws' +import WebSocket from 'isomorphic-ws' declare function clearInterval(id: number): void declare function setInterval(cb: (...args: any[]) => void, delay?: number, ...args: any[]): number