diff --git a/dr.botzo.py b/dr.botzo.py index 4923244..b485395 100755 --- a/dr.botzo.py +++ b/dr.botzo.py @@ -146,6 +146,11 @@ def sub_countdown(connection, event, nick, userhost, replypath, what, admin_unlo config.set('countdown', item, target.astimezone(tzutc()).isoformat()) connection.privmsg(replypath, 'added countdown item') + elif whats[1] == 'list': + try: + liststr = ', '.join(config.options('countdown')) + connection.privmsg(replypath, liststr) + except NoSectionError: pass else: try: timestr = config.get('countdown', whats[1])