11module . exports = {
22 name : "about" ,
3- description : `Get info about me!` ,
3+ description : `Get info about me, ${ app . client . user . tag } !` ,
44 guildOnly : false ,
55 authorizedGuilds : [ ] ,
66 hidden : false ,
@@ -9,33 +9,35 @@ module.exports = {
99 aliases : [ "botinfo" , "aboutme" ] ,
1010 syntax : [ ] ,
1111 execute : async ( app , message , args ) => {
12- const os = app . modules [ "os" ] ; // Welcome to os(u)~!
13- return app . functions . msgHandler ( message , {
14- embeds : [ {
15- title : app . config . system . emotes . information + ` All about your favorite bot, **${ app . client . user . tag } **!` ,
16- color : app . config . system . embedColors . blue ,
17- thumbnail : { url : app . client . user . displayAvatarURL ( { format : 'png' , dynamic : true , size : 1024 } ) } ,
18- fields : [
19- { name : "Bot Information" , value : "** **" } ,
20- { name : "User Tag" , value : `${ app . client . user . tag } ` , inline : true } ,
21- { name : "User ID" , value : `${ app . client . user . id } ` , inline : true } ,
22- { name : "Bot Version" , value : app . version . toFullString ( ) , inline : true } ,
23- { name : "Bot Uptime" , value : app . functions . TStoHR ( app . client . uptime ) , inline : true } ,
24- { name : "Emote Count" , value : `${ Object . keys ( app . config . system . emotes ) . length } total` , inline : true } ,
25- { name : "Embed Color Count" , value : `${ Object . keys ( app . config . system . embedColors ) . length } total` , inline : true } ,
26- { name : "RPS Count" , value : `${ Object . keys ( app . config . system . rotatingStatus . statuses ) . length } total` , inline : true } ,
27- { name : "Bot Memory Usage" , value : ( Math . round ( process . memoryUsage ( ) . heapUsed / 1024 / 1024 * 100 ) / 100 ) + " MiB" , inline : true } ,
28- { name : "Servers I'm In" , value : app . client . guilds . cache . size + " total" , inline : true } ,
29- { name : "Host System Information" , value : "** **" } ,
30- { name : "Node Version" , value : `${ process . version } ` , inline : true } ,
31- { name : "Node Uptime" , value : app . functions . TStoHR ( process . uptime ( ) * 1000 ) , inline : true } ,
32- { name : "Node Execution Path" , value : `${ process . execPath } ` , inline : true } ,
33- { name : "Process PID" , value : `${ process . pid } ` , inline : true } ,
34- { name : "System Platform" , value : `${ process . platform } ` , inline : true } ,
35- { name : ( ( process . platform == "linux" ) ? "Kernel Version" : "System Version" ) , value : os . version ( ) , inline : true }
36- // I'd like to have this show the current CPU usage, I'm open to ideas on how to get it to work. - IDeletedSystem64
37- ]
38- } ]
39- } ) ;
40- }
41- }
12+ const os = app . modules [ "os" ] ; // Welcome to os(u)~!
13+ app . functions . msgHandler ( message , {
14+ embeds : [ {
15+ title : app . config . system . emotes . information + ` All about your favorite bot, **${ app . client . user . tag } **!` ,
16+ color : app . config . system . embedColors . blue ,
17+ thumbnail : { url : app . client . user . displayAvatarURL ( { format : 'png' , dynamic : true , size : 1024 } ) } ,
18+ fields : [
19+ { name : "Bot Information" , value : "** **" } ,
20+ { name : "User Tag" , value : `${ app . client . user . tag } ` , inline : true } ,
21+ { name : "User ID" , value : `${ app . client . user . id } ` , inline : true } ,
22+ { name : "Bot Version" , value : app . version . toFullString ( ) , inline : true } ,
23+ { name : "Bot Uptime" , value : app . functions . TStoHR ( app . client . uptime ) , inline : true } ,
24+ { name : "Emote Count" , value : `${ Object . keys ( app . config . system . emotes ) . length } total` , inline : true } ,
25+ { name : "Embed Color Count" , value : `${ Object . keys ( app . config . system . embedColors ) . length } total` , inline : true } ,
26+ { name : "RPS Count" , value : `${ Object . keys ( app . config . system . rotatingStatus . statuses ) . length } total` , inline : true } ,
27+ { name : "Bot Memory Usage" , value : ( Math . round ( process . memoryUsage ( ) . heapUsed / 1024 / 1024 * 100 ) / 100 ) + " MiB" , inline : true } ,
28+ { name : "Servers I'm In" , value : app . client . guilds . cache . size + " total" , inline : true } ,
29+ { name : "Host System Information" , value : "** **" } ,
30+ { name : "Node Version" , value : `${ process . version } ` , inline : true } ,
31+ { name : "Node Uptime" , value : app . functions . TStoHR ( process . uptime ( ) * 1000 ) , inline : true } ,
32+ { name : "Node Execution Path" , value : `${ process . execPath } ` , inline : true } ,
33+ { name : "Process PID" , value : `${ process . pid } ` , inline : true } ,
34+ { name : "System Platform" , value : `${ process . platform } ` , inline : true } ,
35+ { name : ( ( process . platform == "linux" ) ? "Kernel Version" : "System Version" ) , value : os . version ( ) , inline : true }
36+ // I'd like to have this show the current CPU usage, I'm open to ideas on how to get it to work. - IDeletedSystem64
37+ ] ,
38+ footer : { text : app . config . system . footerText }
39+ } ]
40+ } ) ;
41+ }
42+ }
43+
0 commit comments