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