diff options
| author | 2020-02-24 10:18:55 +0000 | |
|---|---|---|
| committer | 2020-02-24 10:18:55 +0000 | |
| commit | 8f9c063114def747b8fbabe8c3a48c7708474e2c (patch) | |
| tree | 745c1f7287a5abbc0f0a8dc6c1473d77bbad1452 /modules/stats.py | |
| parent | `command` doesn't exist - use event["spec"][2] (diff) | |
only do to_pretty_time as relative when requested
Diffstat (limited to 'modules/stats.py')
| -rw-r--r-- | modules/stats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/stats.py b/modules/stats.py index d61312f7..4d82ac45 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.format.to_pretty_time( + return utils.datetime.format.to_pretty_since( int(time.time()-self.bot.start_time)) @utils.hook("received.command.uptime") |
