Browse Source

now the bot only joins when it receives its cloak (bad idea?)

master
jcao219 14 years ago
parent
commit
a8fa2deed1
  1. 5
      wolfgame.py

5
wolfgame.py

@ -38,7 +38,8 @@ hook = decorators.generate(HOOKS, raw_nick=True) @@ -38,7 +38,8 @@ hook = decorators.generate(HOOKS, raw_nick=True)
def connect_callback(cli):
cli.ns_identify(botconfig.PASS)
def prepare_stuff():
@hook("event_hosthidden", id=294)
def prepare_stuff(*args):
cli.join(botconfig.CHANNEL)
cli.msg("ChanServ", "op "+botconfig.CHANNEL)
@ -102,7 +103,7 @@ def connect_callback(cli): @@ -102,7 +103,7 @@ def connect_callback(cli):
var.KILL_IDLE_TIME = 0 #300
var.WARN_IDLE_TIME = 0 #180
prepare_stuff()
def mass_mode(cli, md):

Loading…
Cancel
Save