I created a discord.js bot that works all the time. In the terminal where the bot is running I would like the running time of the bot since it started up to be displayed below “I am connected !”.
Here is part of my console code :
client.on('ready', () => {
console.log('I am connected !');
Do you have any ideas ?
Thank you in advance for your help.