chore: update deps
This commit is contained in:
parent
66031d56c2
commit
36d3e944ff
5 changed files with 9 additions and 7 deletions
|
@ -399,7 +399,7 @@ export class Gateway extends HarmonyEventEmitter<GatewayTypedEvents> {
|
|||
await this.cache.delete(`seq_${this.shards?.join('-') ?? '0'}`)
|
||||
}
|
||||
|
||||
this.close(1000, RECONNECT_REASON)
|
||||
this.closeGateway(1000, RECONNECT_REASON)
|
||||
this.initWebsocket()
|
||||
}
|
||||
|
||||
|
@ -418,7 +418,7 @@ export class Gateway extends HarmonyEventEmitter<GatewayTypedEvents> {
|
|||
this.websocket.onerror = this.onerror.bind(this) as any
|
||||
}
|
||||
|
||||
close(code: number = 1000, reason?: string): void {
|
||||
closeGateway(code: number = 1000, reason?: string): void {
|
||||
this.debug(
|
||||
`Closing with code ${code}${
|
||||
reason !== undefined && reason !== '' ? ` and reason ${reason}` : ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue