From dd189d6075a52c3c4eafe528af6fd46cc2d3e032 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Fri, 15 Jun 2012 05:50:53 +0200 Subject: [PATCH] Basile est le bienvenu sur #note-dev --- basile.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) -- 2.39.2