diff --git a/commands/events/time.js b/commands/events/time.js index 2ad37c13..8f1c3891 100644 --- a/commands/events/time.js +++ b/commands/events/time.js @@ -36,10 +36,11 @@ module.exports = class TimeCommand extends Command { run(msg, { timeZone }) { const time = moment().tz(timeZone).format('h:mm A'); const location = timeZone.split('/'); + const word = location === 'lily' ? 'for' : 'is'; const main = firstUpperCase(location[0], /[_ ]/); const sub = location[1] ? firstUpperCase(location[1], /[_ ]/) : null; const subMain = location[2] ? firstUpperCase(location[2], /[_ ]/) : null; const parens = sub ? ` (${subMain ? `${sub}, ` : ''}${main})` : ''; - return msg.say(`The current time in ${subMain || sub || main}${parens} is ${time}.`); + return msg.say(`The current time ${word} ${subMain || sub || main}${parens} is ${time}.`); } }; diff --git a/package.json b/package.json index c694c63d..b70c0686 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "152.4.11", + "version": "152.4.12", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {