mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -23,7 +23,7 @@ module.exports = class GroupLeaderboardCommand extends Command {
|
||||
}
|
||||
|
||||
run(msg, { page }) {
|
||||
const groups = this.client.registry.groups.filter(group => group.groupID !== 'util').map(group => {
|
||||
const groups = this.client.registry.groups.filter(group => group.id !== 'util').map(group => {
|
||||
const uses = group.commands.reduce((a, b) => {
|
||||
if (b.unknown || !b.uses) return a;
|
||||
return a + b.uses;
|
||||
|
||||
Reference in New Issue
Block a user