コード例 #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)