Skip to content

Commit

Permalink
[Meetbot]Vocalize the comment system a bit more, also contact the mee…
Browse files Browse the repository at this point in the history
…ting starter on new comments.
  • Loading branch information
tyrope committed Oct 6, 2013
1 parent 8e3d5b8 commit f86751f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion meetbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ def startmeeting(bot, trigger):
logplain('Meeting started by ' + trigger.nick.lower(), trigger.sender)
logHTML_start(trigger.sender)
meeting_actions[trigger.sender] = []
bot.say('Meeting started! use .action, .agreed, .info, .chairs and .subject to control the meeting. to end the meeting, type .endmeeting')
bot.say('Meeting started! use .action, .agreed, .info, .chairs, .subject and .comments to control the meeting. to end the meeting, type .endmeeting')
bot.say('Users without speaking permission can use .comment '+trigger.sender+' followed by their comment in a PM with me to vocalize themselves.')


#Change the current subject (will appear as <h3> in the HTML log)
Expand Down Expand Up @@ -378,6 +379,7 @@ def take_comment(bot, trigger):
meetings_dict[trigger.group(3)]['comments'].append((trigger.nick, message))
bot.say("Your comment has been recorded. It will be shown when the"
" chairs tell me to show the comments.")
bot.msg(meetings_dict[trigger.group(3)]['head'], "A new comment has been recorded.")

@commands('comments')
def show_comments(bot, trigger):
Expand Down

0 comments on commit f86751f

Please sign in to comment.