From 16afdcc533c8723a83136ad04e697875ed6562d5 Mon Sep 17 00:00:00 2001 From: notghost Date: Mon, 2 Jan 2017 22:36:56 -0600 Subject: [PATCH] Update and rename commands.js to fix-commands.js Fixed issue for you, just simply accept replace. I changed ~set timezone <> to ~timezone. <3 --- modules/profile/{commands.js => fix-commands.js} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename modules/profile/{commands.js => fix-commands.js} (97%) diff --git a/modules/profile/commands.js b/modules/profile/fix-commands.js similarity index 97% rename from modules/profile/commands.js rename to modules/profile/fix-commands.js index 1b001a6..7a285d0 100644 --- a/modules/profile/commands.js +++ b/modules/profile/fix-commands.js @@ -50,13 +50,13 @@ var commands = function(dbot){ if(tz) { event.reply('The time for ' + target + ' in ' + tz + ' is ' + moment().tz(tz).format('HH:mm:ss on DD/MM/YYYY')); } else { - event.reply(user.currentNick + ' needs to set a timezone with "~set timezone x"'); + event.reply(user.currentNick + ' needs to set a timezone with "~timezone x"'); } } else { if(!user) { event.reply('No idea who that is mate'); } else { - event.reply(user.currentNick + ' needs to set a timezone with "~set timezone x"'); + event.reply(user.currentNick + ' needs to set a timezone with "timezone x"'); } } });