mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 14:20:51 +02:00
Remove owner group from lb
This commit is contained in:
@@ -23,7 +23,7 @@ module.exports = class GroupLeaderboardCommand extends Command {
|
||||
}
|
||||
|
||||
run(msg, { page }) {
|
||||
const groups = this.client.registry.groups.map(group => {
|
||||
const groups = this.client.registry.groups.filter(group => group.groupID !== '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