Format shown announcement in bold.
authorCMDR furrycat <elite@furrycat.net>
Wed, 5 Oct 2016 10:51:09 +0000 (11:51 +0100)
committerCMDR furrycat <elite@furrycat.net>
Wed, 5 Oct 2016 10:51:09 +0000 (11:51 +0100)
bot.py

diff --git a/bot.py b/bot.py
index 84c3382..274b2dc 100755 (executable)
--- a/bot.py
+++ b/bot.py
@@ -783,7 +783,7 @@ def show_announcement(message, id):
 
   server = client.get_server(announcement['server_id'])
   member = server.get_member(announcement['member_id'])
-  text = 'announcement by {}'.format(member.name)
+  text = '**announcement {} by {}'.format(id, member.name)
   now = int(time.time())
   if announcement['last_spoke']:
     offset = announcement['last_spoke']
@@ -801,10 +801,10 @@ def show_announcement(message, id):
   if offset <= now:
     if announcement['interval']:
       text += ' scheduled for {}'.format(iso8601(offset + announcement['interval']))
-  text += ':'
+  text += '**'
   lines.append(text)
 
-  text = 'announce create {}'.format(id)
+  text = 'announce create'
   if announcement['start_date']:
     text += ' from "{}"'.format(iso8601(announcement['start_date']))
   if announcement['end_date']: