Fixed announcement "at" time.
authorCMDR furrycat <elite@furrycat.net>
Thu, 20 Oct 2016 19:55:17 +0000 (20:55 +0100)
committerCMDR furrycat <elite@furrycat.net>
Thu, 20 Oct 2016 19:55:17 +0000 (20:55 +0100)
bot.py

diff --git a/bot.py b/bot.py
index 55c2689..6aa17f0 100755 (executable)
--- 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: