15 lines
No EOL
484 B
JavaScript
15 lines
No EOL
484 B
JavaScript
const { Command } = require('discord.js-commando');
|
|
module.exports = class MeowCommand extends Command {
|
|
constructor(client) {
|
|
super(client, {
|
|
name: 'stats',
|
|
group: 'owner',
|
|
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}`);
|
|
}
|
|
}; |