In-code uptime thingy

Hello there! I am making a discord bot, and I would like to implement an uptime command. It would take the project uptime and other stats (ping, CPU, etc) and send it. I am not that familiar with javascript so any help would be appreciated!

I suggest you first take a look at a NodeJS tutorial, then a Discord.js tutorial.