add default value of self._load_thread
This commit is contained in:
parent
28cdf05a47
commit
6ee9bcc51f
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@ from src import ModuleManager, utils
|
|||
NO_MARKOV = "Markov chains not enabled in this channel"
|
||||
|
||||
class Module(ModuleManager.BaseModule):
|
||||
_load_thread = None
|
||||
|
||||
def on_load(self):
|
||||
if not self.bot.database.has_table("markov"):
|
||||
self.bot.database.execute("""CREATE TABLE markov
|
||||
|
|
Loading…
Reference in a new issue