accurate stat
This commit is contained in:
parent
f4deb40adb
commit
0ff076b583
1 changed files with 1 additions and 1 deletions
|
@ -895,7 +895,7 @@ export class Player extends EventEmitter {
|
||||||
return {
|
return {
|
||||||
uptime: this.client.uptime,
|
uptime: this.client.uptime,
|
||||||
connections: this.client.voice.connections.size,
|
connections: this.client.voice.connections.size,
|
||||||
users: this.client.voice.connections.reduce((a, c) => a + c.channel.members.size, 0),
|
users: this.client.voice.connections.reduce((a, c) => a + c.channel.members.filter(a => a.user.id !== this.client.user.id).size, 0),
|
||||||
queues: this.queues.size,
|
queues: this.queues.size,
|
||||||
extractors: this.Extractors.size,
|
extractors: this.Extractors.size,
|
||||||
versions: {
|
versions: {
|
||||||
|
|
Loading…
Reference in a new issue