if not announce:
return
+ if not len(update.keys()):
+ yield from say(message.channel, '?')
+ return
+
if db.update_announcement(client, id, **update):
log.info('Edited announcement {}: {}'.format(id, update))
yield from say(message.channel, ', '.join([announcement_key(k) for k in update]))
if not feed:
return
+ if not len(update.keys()):
+ yield from say(message.channel, '?')
+ return
+
if db.update_feed(client, id, **update):
log.info('Edited feed {}: {}'.format(id, update))
yield from say(message.channel, ', '.join([feed_key(k) for k in update]))