import json import threading import urllib import re class MessageSender: def __init__(self, irc, message): self.irc = irc self.message = message def send_message(self): self.irc.reply(self.message) class Agenda(object): # Messages 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