Skip to content

Commit 3bdaa98

Browse files
Finish that fine fine lookin' about command
1 parent 634590f commit 3bdaa98

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

src/app/cmds/General/about.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ module.exports = {
99
aliases: ["botinfo", "aboutme"],
1010
syntax: [],
1111
execute: async(app, message, args) => {
12+
const os = app.modules["os"]
13+
// Welcome to os(u)~!
14+
const si = app.modules["systeminformation"]
1215
app.functions.msgHandler(message, {
1316
embeds: [{
1417
title: app.config.system.emotes.information + ` All about your favorite bot, **${app.client.user.tag}**!`,
@@ -29,7 +32,12 @@ module.exports = {
2932
{ name: "Node Version", value: `${process.version}`, inline: true },
3033
{ name: "Node Uptime", value: app.functions.TStoHR(process.uptime()* 1000), inline: true },
3134
{ name: "Node Execution Path", value: `${process.execPath}`, inline: true},
32-
]
35+
{ name: "Process PID", value: `${process.pid}`, inline: true},
36+
{ name: "System Platform", value: `${process.platform}`, inline: true},
37+
{ name: ((process.platform == "linux") ? "Kernel Version" : "System Version"), value: os.version(), inline: true }
38+
// I'd like to have this show the current CPU usage, I'm open to ideas on how to get it to work. - IDeletedSystem64
39+
],
40+
footer: { text: app.config.system.footerText }
3341
}]
3442
});
3543
}

0 commit comments

Comments
 (0)