botinfo
#375
Replies: 1 comment
-
Thanks! Very useful, but I think that this isn't the correctly place to post it... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I write a botimfo command you can use it
const Discord = require("discord.js")
const { version } = require("discord.js");
const moment = require("moment");
const m = require("moment-duration-format");
let os = require('os')
let cpuStat = require("cpu-stat")
const ms = require("ms")
module.exports = {
name: "botinfo",
description: "Bot info",
async execute(message, args) { //command
let cpuLol;
cpuStat.usagePercent(function(err, percent, seconds) {
if (err) {
return console.log(err);
}
});
}
};
Beta Was this translation helpful? Give feedback.
All reactions