forked from GitHub/dbot
m is not n
This commit is contained in:
parent
58ef784a1e
commit
300a6c51a1
@ -47,7 +47,7 @@ var commands = function(dbot){
|
|||||||
if(!err) {
|
if(!err) {
|
||||||
var tz = profile.profile.timezone;
|
var tz = profile.profile.timezone;
|
||||||
if(tz) {
|
if(tz) {
|
||||||
event.reply('The time for ' + event.params[1] + ' is ' + moment().tz(tz).format('HH:mm:ss on DD/MM/YYYY'));
|
event.reply('The time for ' + event.params[1] + ' in ' + tz + ' is ' + moment().tz(tz).format('HH:mm:ss on DD/MM/YYYY'));
|
||||||
} else {
|
} else {
|
||||||
event.reply(user.currentNick + ' needs to set a timezone with ~timezone');
|
event.reply(user.currentNick + ' needs to set a timezone with ~timezone');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user