I’m trying to do it in the new version of Discord.js, version 14, I’m still learning it and I’ve been thinking for a long time about how to make a command, for example /status, and the bot would send me a message showing the current load of the server, for example, how many processors it has a percentage and how much ram memory it takes and maybe even what version of Discord.js bot it works on, but I have no idea how to do it, I thought about it and it doesn’t work at all, I’ve tried a lot of code
Like this:
I remind you that it must be on version 14 and it must be a slash command, all I need is for him to write it as a normal message, but it would be best if it were in an emebed message where, for example,
RAM: 512mb/8gb
CPU: 25%
Discord.js Version: 14.0
Node.js: 18.00
If anyone needs more info, just write, thank you very much for reading, I’m always looking and working on how to figure it out, every idea is useful, thank you.