From 8548f0e9c6da21a6b2c4089da3137192bcec9acd Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Mon, 16 Jan 2023 16:31:52 +0700 Subject: [PATCH] ops i added a , --- commands/uptime.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/uptime.js b/commands/uptime.js index 025727d..f57c6ff 100644 --- a/commands/uptime.js +++ b/commands/uptime.js @@ -8,12 +8,12 @@ module.exports = { trusted: 0, execute (bot, username, sender, prefix, args, config, hash, ownerhash, selector) { const duration = moment.duration(Math.floor(performance.now())) - const time = `${duration.days()} days, ${duration.hours()} hours, ${duration.minutes()}, minutes, ${duration.seconds()} seconds` // moment please add duration.format() + const time = `${duration.days()} days, ${duration.hours()} hours, ${duration.minutes()} minutes, ${duration.seconds()} seconds` // moment please add duration.format() bot.tellraw(selector, [{ text: 'The bot\'s uptime is ', color: 'white' }, { text: time, color: 'green' }]) }, discordExecute (bot, username, sender, prefix, args, channeldc, message, config) { const duration = moment.duration(Math.floor(performance.now())) - const time = `${duration.days()} days, ${duration.hours()} hours, ${duration.minutes()}, minutes, ${duration.seconds()} seconds` // moment please add duration.format() + const time = `${duration.days()} days, ${duration.hours()} hours, ${duration.minutes()} minutes, ${duration.seconds()} seconds` // moment please add duration.format() const Embed = new EmbedBuilder() .setColor(config.discord.embedsColors.normal) .setTitle('Bot\'s Uptime')