def reload(self): """ (Re-)load the file with the bad words """ self.badwords = functions.loadList(self.badwordsFile)
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)
def start(self): fn = self.bot.config.getPath("file", datadir, "marvin.txt", "marvin") self.marvin = functions.loadList(fn)