making things look a tad nicer

This commit is contained in:
Carol Knieriem 2019-12-19 14:45:09 -05:00
parent a2ffd31de8
commit 267e4e200e
No known key found for this signature in database
GPG Key ID: 932EC6A6BAEE122B
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ const { version } = require("discord.js");
const moment = require("moment");
require("moment-duration-format");
exports.run = (client, message, args, level) => { // eslint-disable-line no-unused-vars
exports.run = (client, message, args, level) => {
const duration = moment.duration(client.uptime).format(" D [days], H [hrs], m [mins], s [secs]");
message.channel.send(`= STATISTICS =
Mem Usage :: ${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)} MB