From d7fcb9289fb9403db1c646b4205117d1ba66acfe Mon Sep 17 00:00:00 2001 From: Joachim Filip Ignacy Bartosik Date: Fri, 17 Jun 2011 14:06:25 +0200 Subject: Add '#option remove' command to MeetBot --- bot/ircmeeting/agenda.py | 31 +++++++++++++++++++++++++------ bot/ircmeeting/meeting.py | 2 ++ bot/tests/run_test.py | 9 +++++++++ 3 files changed, 36 insertions(+), 6 deletions(-) (limited to 'bot') diff --git a/bot/ircmeeting/agenda.py b/bot/ircmeeting/agenda.py index 97bcfcf..928ff5f 100644 --- a/bot/ircmeeting/agenda.py +++ b/bot/ircmeeting/agenda.py @@ -8,6 +8,7 @@ class Agenda(object): added_option_msg = "You added new voting option: {}" empty_agenda_msg = "Agenda is empty so I can't help you manage meeting (and voting)." current_item_msg = "Current agenda item is {}." + removed_option_msg = "You removed voting option {}: {}" voting_already_open_msg = "Voting is already open. You can end it with #endvote." voting_open_msg = "Voting started. {}Vote #vote