From d0d5cc4d0866d44eed652221940035d855296253 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 30 Jan 2020 21:12:31 +0000 Subject: split utils.datetime out in to .parse and .format --- modules/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/stats.py') diff --git a/modules/stats.py b/modules/stats.py index bcd05a17..d61312f7 100644 --- a/modules/stats.py +++ b/modules/stats.py @@ -7,7 +7,7 @@ HIDDEN_MODES = set(["s", "p"]) class Module(ModuleManager.BaseModule): def _uptime(self): - return utils.datetime.to_pretty_time( + return utils.datetime.format.to_pretty_time( int(time.time()-self.bot.start_time)) @utils.hook("received.command.uptime") -- cgit v1.3.1-10-gc9f91