3
0
mirror of https://github.com/reality/dbot.git synced 2025-01-11 12:32:36 +01:00

Update and rename commands.js to fix-commands.js

Fixed issue for you, just simply accept replace. I changed ~set timezone <> to ~timezone.

<3
This commit is contained in:
notghost 2017-01-02 22:36:56 -06:00 committed by GitHub
parent 92598b13c2
commit 16afdcc533

View File

@ -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"');
}
}
});