git://git.furryclan.net
/
furrycat
/
catbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
197343d
)
Fixed announcement "at" time.
author
CMDR furrycat
<elite@furrycat.net>
Thu, 20 Oct 2016 19:55:17 +0000
(20:55 +0100)
committer
CMDR furrycat
<elite@furrycat.net>
Thu, 20 Oct 2016 19:55:17 +0000
(20:55 +0100)
bot.py
patch
|
blob
|
history
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: