From 6ee9bcc51f591e1ba0f4446e380589f6bbb08fb3 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 23 Sep 2019 10:41:01 +0100 Subject: [PATCH] add default value of self._load_thread --- modules/markov.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/markov.py b/modules/markov.py index 9e6a8eb7..6459d292 100644 --- a/modules/markov.py +++ b/modules/markov.py @@ -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