예제 #1
0
파일: badwords.py 프로젝트: Farthen/OTFBot
 def reload(self):
     """
         (Re-)load the file with the bad words
     """
     self.badwords = functions.loadList(self.badwordsFile)
예제 #2
0
파일: marvin.py 프로젝트: allo-/otfbot
 def start(self):
     """
         Loads the phrases from the data dir
     """
     fn = self.bot.config.getPath("file", datadir, "marvin.txt", "marvin")
     self.marvin = functions.loadList(fn)
예제 #3
0
 def reload(self):
     """
         (Re-)load the file with the bad words
     """
     self.badwords = functions.loadList(self.badwordsFile)
예제 #4
0
파일: marvin.py 프로젝트: otfbot/otfbot
 def start(self):
     """
         Loads the phrases from the data dir
     """
     fn = self.bot.config.getPath("file", datadir, "marvin.txt", "marvin")
     self.marvin = functions.loadList(fn)
예제 #5
0
파일: marvin.py 프로젝트: Farthen/OTFBot
 def start(self):
     fn = self.bot.config.getPath("file", datadir, "marvin.txt", "marvin")
     self.marvin = functions.loadList(fn)