def __init__(self, *args, **kwargs): Module.__init__(self, *args, **kwargs) self.ongoingPings = {} try: from bs4 import BeautifulSoup self.bs = BeautifulSoup except ImportError: log.warn("Unmet dependency BeautifulSoup4: The URL checkers will be disabled.")
def __init__(self, *args, **kwargs): Module.__init__(self, *args, **kwargs) self.danceCooldown = {} self.danceCooldownTime = None self.privileged_users = [ "KennethD", "_404`d", "Mathias" ] self.privileged_responses = {} self.randomresponses = { "hi everybody!": "Hi Dr. Nick!", }
def __init__(self, *args, **kwargs): Module.__init__(self, *args, **kwargs) self.channelJoinQueue = [] self.haveVhost = False self.haveIdentified = False log.info("HostServ module enabled, all joins will be cancelled until we have received a vhost.")
def __init__(self, *args, **kwargs): Module.__init__(self, *args, **kwargs) self.apikey = self.settings.get("module.Lastfm", "apikey") self.log = logging.getLogger(".".join([__name__, "Lastfm"]))
def __init__(self, *args, **kwargs): Module.__init__(self, *args, **kwargs)
def __init__(self, *args, **kwargs): Module.__init__(self, *args, **kwargs) self.prefixChars = self.settings.get("bot", "triggerPrefixes")
def __init__(self, *args, **kwargs): Module.__init__(self, *args, **kwargs) self.time_fmt = "\x0309%H:%M:%S \x0312%d.%m.%Y %Z"
def __init__(self, *args, **kwargs): Module.__init__(self, *args, **kwargs) self.danceCooldown = {} self.danceCooldownTime = None
def __init__(self, *args, **kwargs): Module.__init__(self, *args, **kwargs) self.nickIWant = None self.isRecovering = False