1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 02:00:20 +00:00

Update index.js

This commit is contained in:
MatteZ02 2019-07-19 10:42:38 +03:00
parent c0daa44536
commit 77b1c5fcd3

View File

@ -39,7 +39,7 @@ client.on('message', async msg => {
} else {
finalUptime = `${Math.round((uptime.d + (uptime.h / 24)) * 10) / 10} days`;
}
msg.channel.send(`I've been up & running for **${finalUptime}.**`);
return msg.channel.send(`I've been up & running for **${finalUptime}.**`);
}
if (msg.content === `${PREFIX}help`) {
const embed = new Discord.RichEmbed()