Add scheduler

This commit is contained in:
Richard Chien 2016-12-03 17:24:11 +08:00
parent e834da4090
commit 6e804d8aea

View File

@ -90,6 +90,7 @@ def add_job(args_text, ctx_msg, internal=False):
except ValueError:
# Split failed, which means format is not correct
raise _InvalidTriggerArgsError
trigger_args['day_of_week'] -= 1 # Because APScheduler's day of week is from 0 to 6
# Parse '--multi' option
multi = False