def on_notice(self, event, irc):
source = event.source.host
if not event.target == "*":
if not event.target == self.config['nickname']:
channel = event.target
log.info("Received channel notice from %s in %s",
source,
channel)
else:
log.info("Received private notice from %s", source)
评论列表
文章目录