From 2ea577ec6472c2bea337d5ad5f619a91ab8254e1 Mon Sep 17 00:00:00 2001 From: CMDR furrycat Date: Thu, 20 Oct 2016 20:55:17 +0100 Subject: [PATCH] Fixed announcement "at" time. --- bot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bot.py b/bot.py index 55c2689..6aa17f0 100755 --- a/bot.py +++ b/bot.py @@ -1245,6 +1245,9 @@ def parse_announcement(message, raw, editing = False): ok = True else: break + if arg == 'at': + parsed['end_date'] = parsed['start_date'] + parsed['interval'] = 0 elif arg == 'every': seconds = parse_seconds(param) if seconds is not None: -- 2.7.4