Updating the irc2chan command
This commit is contained in:
parent
ab6dcc605d
commit
0d071ec75f
2 changed files with 10 additions and 7 deletions
|
|
@ -40,7 +40,8 @@ class IRCBot(irc.IRCClient, Session):
|
|||
self.uid = self.factory.uid
|
||||
self.logged_in = True
|
||||
self.factory.sessionhandler.connect(self)
|
||||
logger.log_infomsg("IRC bot connected")
|
||||
logger.log_infomsg("IRC bot '%s' connected to %s at %s:%s." % (self.nickname, self.channel,
|
||||
self.network, self.port))
|
||||
|
||||
def privmsg(self, user, channel, msg):
|
||||
"A message was sent to channel"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue