]> gitweb.pimeys.fr Git - bots/basile.git/commitdiff
Basile est le bienvenu sur #note-dev
authorVincent Le Gallic <legallic@crans.org>
Fri, 15 Jun 2012 03:50:53 +0000 (05:50 +0200)
committerVincent Le Gallic <legallic@crans.org>
Fri, 15 Jun 2012 03:50:53 +0000 (05:50 +0200)
basile.py

index de3eee9f617570f8432b73c8ea9821054ad8fd51..4c071ff5a5d520e2cd429566f0633b74b6a791cb 100755 (executable)
--- 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)