mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
Using ws.connection.status rather than undefined ws.status (#1429)
This commit is contained in:
@@ -190,7 +190,7 @@ class Client extends EventEmitter {
|
||||
* @readonly
|
||||
*/
|
||||
get status() {
|
||||
return this.ws.status;
|
||||
return this.ws.connection.status;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user