From: Vincent Le Gallic Date: Fri, 15 Jun 2012 03:50:53 +0000 (+0200) Subject: Basile est le bienvenu sur #note-dev X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=dd189d6075a52c3c4eafe528af6fd46cc2d3e032;p=bots%2Fbasile.git Basile est le bienvenu sur #note-dev --- 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)