@ -6,6 +6,7 @@ USERNAME = "" # for authentication, can be left blank if same as NICK
OPERUSER = "OPPER user"
OPERPASS = "OPER password"
NICK = "mywolfbot"
NICKPASS = "nickserv password"
CMD_CHAR = "!"
CHANGING_HOST_QUIT_MESSAGE = "Changing host"
@ -98,6 +98,8 @@ def connect_callback(cli):
def prepare_stuff(*args):
cli.send("OPER", botconfig.OPERUSER, botconfig.OPERPASS)
#cli.msg("NickServ", "IDENTIFY", botconfig.NICKPASS)
cli.ns_identify(botconfig.NICKPASS)
cli.join(botconfig.CHANNEL)
cli.msg("ChanServ", "op "+botconfig.CHANNEL)