-
-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
This works for me:
Added to config.py, Config class:
self.NICKPASS = ""
Changed on_welcome function in bot.py, IRCBot class to:
def on_welcome(self, connection, event):
"""Login"""
if self.__config.NICKPASS:
self.connection.privmsg("NickServ", "IDENTIFY {}".format(self.__config.NICKPASS))
"""Join the correct channel upon connecting"""
if irc.client.is_channel(self.__config.CHANNEL):
connection.join(self.__config.CHANNEL)
Metadata
Metadata
Assignees
Labels
No labels