X-Git-Url: http://gitweb.pimeys.fr/?p=bots%2Fbasile.git;a=blobdiff_plain;f=basile.py;h=4c071ff5a5d520e2cd429566f0633b74b6a791cb;hp=de3eee9f617570f8432b73c8ea9821054ad8fd51;hb=dd189d6075a52c3c4eafe528af6fd46cc2d3e032;hpb=7708f8ac58f0063ea8f2b07aa32759aaf8c6be32 diff --git a/basile.py b/basile.py index de3eee9..4c071ff 100755 --- a/basile.py +++ b/basile.py @@ -23,8 +23,8 @@ if "--quiet" in sys.argv: config_irc_password="NK2015BasileB0t" config_irc_pseudo="Basile" -config_chanlist=["#bot","#flood"] -config_stay_channels=["#bot","#flood"] +config_chanlist=["#bot","#flood","#note-dev"] +config_stay_channels=["#bot","#flood","#note-dev"] config_quiet_channels=[] config_note_pseudo="Basile" config_note_password="NK2015BasileB0tr4nd0omp4assword]6_+{#]78{" @@ -375,6 +375,8 @@ class Basile(ircbot.SingleServerIRCBot): log(self.serveur,"Connected") if self.debug: self.chanlist=["#bot"] + else: + serv.privmsg("ChanServ INVITE #note-dev") for c in self.chanlist: log(self.serveur,"JOIN %s"%(c)) serv.join(c)