def __init__(self, server, nick, port, ident, realname, channel, debug=False): super().__init__(server, nick, port, ident, realname, debug=debug) self.silent = False self.chan = channel self.msg_formats = IRCFormats() self.wstbot = WstBot(self, debug=True)
def __init__(self, *args): super().__init__(*args) self.msg_formats = XMPPFormats() self.wstbot = WstBot(self, debug=True)