def signedOn(self): """Called when bot has succesfully signed on to server.""" print "[Signed on]" IRCClient.signedOn(self) for chan in self.channels: print 'Joining %s' % chan self.join(chan) log.msg("[%s] Connection made and all channels joined, registering." % self.label) relayer.register(self)
def signedOn(self): IRCClient.signedOn(self) for channel in self.factory.config['irc.channels']: logging.debug('joining: %s' % channel) self.join(channel)