📅  最后修改于: 2022-03-11 14:48:20.555000             🧑  作者: Mango
const ToTalSeconds = (client.uptime / 1000);
const Days = Math.floor(ToTalSeconds / 86400);
const Hours = Math.floor(ToTalSeconds / 3600);
const Minutes = Math.floor(ToTalSeconds / 60);
const Seconds = Math.floor(ToTalSeconds % 60);
if (message.content == "tmb!uptime") {
message.channel.send(`${Days} Giorni, ${Hours} Ore, ${Minutes} Minuti, ${Seconds} Secondi`)
//it doesn't work for me