diff options
| author | 2019-11-17 19:48:05 +0000 | |
|---|---|---|
| committer | 2019-11-17 19:48:05 +0000 | |
| commit | 0d4ddb709e6180ee4ea821cec05772b54f2f2a1f (patch) | |
| tree | 276f377c3f1522d43403bf36c821f30c2dd7b41b /modules/in.py | |
| parent | refactor lastfm.py (diff) | |
| signature | ||
from_pretty_time was moved to utils.datetime
Diffstat (limited to 'modules/in.py')
| -rw-r--r-- | modules/in.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/in.py b/modules/in.py index 86cf4adb..1ecac93b 100644 --- a/modules/in.py +++ b/modules/in.py @@ -11,7 +11,7 @@ class Module(ModuleManager.BaseModule): @utils.kwarg("help", "Set a reminder") @utils.kwarg("usage", "<time> <message>") def in_command(self, event): - seconds = utils.from_pretty_time(event["args_split"][0]) + seconds = utils.datetime.from_pretty_time(event["args_split"][0]) message = " ".join(event["args_split"][1:]) if seconds: if seconds <= SECONDS_MAX: |
