Skip to content
Snippets Groups Projects
Commit 7a3358c2 authored by Levatax's avatar Levatax
Browse files

Add new file

parent 37fe5e6c
No related branches found
No related tags found
No related merge requests found
Pipeline #35 canceled
const Discord = require("discord.js");
const moment = require("moment");
require("moment-duration-format");
exports.run = (client, msg) => {
const duration = moment.duration(client.uptime).format(" D [Day], H [Hour], m [Moment], s [Second]");
msg.channel.sendCode("asciidoc", `Bot's İnfo
• Used Ram :: ${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)} MB
• Users :: ${client.guilds.reduce((a, b) => a + b.memberCount, 0).toLocaleString()}
• Channels :: ${client.channels.size.toLocaleString()}
• Discord.JS Version :: v${Discord.version}`);
};
exports.conf = {
enabled: true,
guildOnly: false,
aliases: ['stats', 'stat'],
permLevel: 0
};
exports.help = {
name: 'info',
description: 'Shows Bot's Stats.',
usage: '*info'
};
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment