mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-25 12:19:10 +00:00
bot: add roles seen to stats
This commit is contained in:
parent
8227a3b00b
commit
057bd4e2e7
1 changed files with 2 additions and 1 deletions
|
@ -167,7 +167,8 @@ class DiscordService extends Service {
|
||||||
`**Stats** 📈`,
|
`**Stats** 📈`,
|
||||||
'',
|
'',
|
||||||
`👩❤️👩 **Users Served:** ${this.client.guilds.reduce((acc, g) => acc + g.memberCount, 0)}`,
|
`👩❤️👩 **Users Served:** ${this.client.guilds.reduce((acc, g) => acc + g.memberCount, 0)}`,
|
||||||
`🔰 **Servers:** ${this.client.guilds.array().length}`
|
`🔰 **Servers:** ${this.client.guilds.size}`,
|
||||||
|
`💮 **Roles Seen:** ${this.client.guilds.reduce((acc, g) => acc + g.roles.size, 0)}`
|
||||||
]
|
]
|
||||||
message.channel.send(t.join('\n'))
|
message.channel.send(t.join('\n'))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue