mirror of
https://github.com/discordjs/discord.js.git
synced 2024-07-08 02:41:17 +12:00
fix: deno compat (#10271)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
This commit is contained in:
parent
3640fe7bca
commit
616208ba77
|
@ -245,7 +245,7 @@ export class WebSocketShard extends AsyncEventEmitter<WebSocketShardEventsMap> {
|
|||
|
||||
this.debug([`Connecting to ${url}`]);
|
||||
|
||||
const connection = new WebSocketConstructor(url, {
|
||||
const connection = new WebSocketConstructor(url, [], {
|
||||
handshakeTimeout: this.strategy.options.handshakeTimeout ?? undefined,
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue