def on_welcome(self, c, e): for ch in self.channelsDict.keys(): channel = Channel() channel.logging = self.channelsDict[ch]["logging"] channel.folder = self.channelsDict[ch]["folder"] channel.ai = self.channelsDict[ch]["ai"] channel.old = self.channelsDict[ch]["old"] channel.quoting = self.channelsDict[ch]["quoting"] channel.seen = self.channelsDict[ch]["seen"] self.channels[ch] = channel c.join(ch) c.privmsg("nickserv", "identify " + PASSWORD)
def on_welcome(self, c, e): for ch in self.channelsDict.keys(): channel = Channel() channel.logging = self.channelsDict[ch]["logging"] channel.folder = self.channelsDict[ch]["folder"] channel.ai = self.channelsDict[ch]["ai"] channel.quoting = self.channelsDict[ch]["quoting"] channel.seen = self.channelsDict[ch]["seen"] self.channels[ch] = channel c.join(ch) c.privmsg("nickserv", "identify " + PASSWORD)