mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 16:14:42 +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
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ export class WebSocketShard extends AsyncEventEmitter<WebSocketShardEventsMap> {
|
||||||
|
|
||||||
this.debug([`Connecting to ${url}`]);
|
this.debug([`Connecting to ${url}`]);
|
||||||
|
|
||||||
const connection = new WebSocketConstructor(url, {
|
const connection = new WebSocketConstructor(url, [], {
|
||||||
handshakeTimeout: this.strategy.options.handshakeTimeout ?? undefined,
|
handshakeTimeout: this.strategy.options.handshakeTimeout ?? undefined,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue