diff --git a/commands/other/timer.js b/commands/other/timer.js index a708b878..2ac03640 100644 --- a/commands/other/timer.js +++ b/commands/other/timer.js @@ -23,7 +23,7 @@ module.exports = class TimerCommand extends Command { run(msg, { time }) { if (this.timers.has(msg.channel.id)) return msg.reply('Only one timer can be set per channel.'); - const display = time > 59 ? `${time / 60} minutes` : `${time} seconds`; + const display = time > 59 ? `${Math.trunc(time / 60)} minutes, ${time % 60} seconds` : `${time} seconds`; const timeout = setTimeout(async () => { await msg.channel.send(`🕰️ Your **${display}** timer is finished ${msg.author}!`); this.timers.delete(msg.channel.id); diff --git a/package.json b/package.json index 69c01a2b..70300ea0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "119.42.0", + "version": "119.42.1", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {