diff options
Diffstat (limited to 'modules/coins.py')
| -rw-r--r-- | modules/coins.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/coins.py b/modules/coins.py index dc2a240a..12a0af44 100644 --- a/modules/coins.py +++ b/modules/coins.py @@ -190,7 +190,7 @@ class Module(ModuleManager.BaseModule): time_left = self.bot.cache.until_expiration(cache) event["stderr"].write("%s: Please wait %s before redeeming" % ( event["user"].nickname, - utils.to_pretty_time(math.ceil(time_left)))) + utils.datetime.to_pretty_time(math.ceil(time_left)))) else: event["stderr"].write( "%s: You can only redeem coins when you have none" % @@ -525,7 +525,7 @@ class Module(ModuleManager.BaseModule): """ until = self._until_next_6_hour() event["stdout"].write("Next lottery is in: %s" % - utils.to_pretty_time(until)) + utils.datetime.to_pretty_time(until)) @utils.hook("received.command.lotterywinner") def lottery_winner(self, event): |
