Skip to content

Commit

Permalink
[Clock]Change 'oops' to something... useful-ish.
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrope committed Mar 6, 2014
1 parent bb56dbf commit 6e573f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion willie/modules/clock.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def f_time(bot, trigger):
if trigger.group(2):
zone = get_timezone(bot.db, bot.config, trigger.group(2), None, None)
if not zone:
bot.say('oops')
bot.say('Could not find timezone %s.' % trigger.group(2))
return
else:
zone = get_timezone(bot.db, bot.config, None, trigger.nick,
Expand Down Expand Up @@ -173,3 +173,4 @@ def update_channel_format(bot, trigger):
"unless a user has their own format set. (If the timezone"
" is wrong, you might try the settz and channeltz "
"commands)" % timef)

1 comment on commit 6e573f4

@wannabe1987
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have my own time zone set. The people i do .t on have a tz set too.

Please sign in to comment.