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-16 21:02:11 +02:00
|
|
|
group: 'utility',
|
2018-09-08 16:10:28 +02:00
|
|
|
memberName: 'stats',
|
|
|
|
description: 'Show bot stats.',
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2018-09-09 21:32:08 +02:00
|
|
|
async run(message) {
|
2018-09-09 00:27:42 +02:00
|
|
|
return message.channel.send(`Servers: \`${this.client.guilds.size}\`\nChannels: \`${this.client.channels.size}\`\nUsers: \`${this.client.users.size}\`\nBot uptime: \`${process.uptime()}\``);
|
2018-09-08 16:10:28 +02:00
|
|
|
}
|
|
|
|
};
|