Haha-Yes/commands/thing/stats.js

15 lines
484 B
JavaScript
Raw Normal View History

2018-09-08 16:10:28 +02:00
const { Command } = require('discord.js-commando');
module.exports = class MeowCommand extends Command {
constructor(client) {
super(client, {
name: 'stats',
2018-09-08 23:13:08 +02:00
group: 'thing',
2018-09-08 16:10:28 +02:00
memberName: 'stats',
description: 'Show bot stats.',
});
}
run(message) {
return message.channel.send(`Servers: ${this.client.guilds.size}\nChannels: ${this.client.channels.size}\nUsers : ${this.client.users.size}`);
}
};