RavenBot/commands/Utilities/about.js

21 lines
631 B
JavaScript
Raw Normal View History

2021-04-23 15:20:48 -04:00
const fs = require("fs");
const dateFormat = require("dateformat");
require('dotenv').config()
exports.run = async (bot, message, args, functions) => {
message.channel.send(`= STATISTICS =\n RavenBot v0.1 Base Version
Mem Usage :: ${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)} MB
Users :: ${bot.users.cache.size}
Servers :: ${bot.guilds.cache.size}
Channels :: ${bot.channels.cache.size}`, { code: "asciidoc" });
};
exports.help = {
name: "about",
aliases: ["a", "about"],
category: "System",
description: "Information about the bot",
usage: "about"
};