module.exports = { config: { name: "runtime", aliases: ["rtm"], version: "2.0.0", author: "๐Œ๐š๐‘๐ฎ๐…", countDown: 0, role: 0, description: { en: "Show bot runtime." }, category: "system", guide: { en: "{pn}" } }, onStart: async function ({ message }) { const uptime = process.uptime(); const days = Math.floor(uptime / 86400); const hours = Math.floor((uptime % 86400) / 3600); const minutes = Math.floor((uptime % 3600) / 60); const seconds = Math.floor(uptime % 60); let runtime = ""; if (days > 0) { runtime += `${days}d `; } if (hours > 0) { runtime += `${hours}h `; } if (minutes > 0) { runtime += `${minutes}m `; } runtime += `${seconds}s`; const msg = `โฑ๏ธ๐‘๐ฎ๐ง๐ง๐ข๐ง๐  ๐ญ๐ข๐ฆ๐ž ยป ${runtime} ยป โ˜บ๏ธ๐Ÿ‘Œ`; return message.reply(msg); } };