示例#1
0
 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)