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:
parent
92598b13c2
commit
16afdcc533
@ -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"');
|
||||
}
|
||||
}
|
||||
});
|
Loading…
Reference in New Issue
Block a user