from_pretty_time was moved to utils.datetime
This commit is contained in:
parent
79a6fd6609
commit
0d4ddb709e
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
@utils.kwarg("help", "Set a reminder")
|
@utils.kwarg("help", "Set a reminder")
|
||||||
@utils.kwarg("usage", "<time> <message>")
|
@utils.kwarg("usage", "<time> <message>")
|
||||||
def in_command(self, event):
|
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:])
|
message = " ".join(event["args_split"][1:])
|
||||||
if seconds:
|
if seconds:
|
||||||
if seconds <= SECONDS_MAX:
|
if seconds <= SECONDS_MAX:
|
||||||
|
|
Loading…
Reference in a new issue