From 6e804d8aeacc851225640f1c750449e19fc67cbe Mon Sep 17 00:00:00 2001 From: Richard Chien Date: Sat, 3 Dec 2016 17:24:11 +0800 Subject: [PATCH] Add scheduler --- commands/scheduler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/scheduler.py b/commands/scheduler.py index 71e0dcba..49d89035 100644 --- a/commands/scheduler.py +++ b/commands/scheduler.py @@ -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