Added TODO for .timer
This commit is contained in:
parent
8dce06b793
commit
87a0111e74
|
@ -34,6 +34,7 @@ class Timer(DatabasePlugin):
|
||||||
delay = args['<delay>']
|
delay = args['<delay>']
|
||||||
message = ' '.join(args['<message>'])
|
message = ' '.join(args['<message>'])
|
||||||
|
|
||||||
|
# TODO: allow precise delays
|
||||||
if not re.match(r'\d+[smhdwy]|mon', delay):
|
if not re.match(r'\d+[smhdwy]|mon', delay):
|
||||||
return 'Invalid timer delay: {}'.format(delay)
|
return 'Invalid timer delay: {}'.format(delay)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user