Show stats of bot
This commit is contained in:
parent
a4f8f53a67
commit
fdd22425f9
1 changed files with 15 additions and 0 deletions
15
commands/owner/stats.js
Normal file
15
commands/owner/stats.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
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}`);
|
||||
}
|
||||
};
|
Loading…
Reference in a new issue