'_on_load' -> 'on_load'
This commit is contained in:
parent
532d1687c3
commit
4ccd3084ed
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ import random
|
||||||
from src import ModuleManager, utils
|
from src import ModuleManager, utils
|
||||||
|
|
||||||
class Module(ModuleManager.BaseModule):
|
class Module(ModuleManager.BaseModule):
|
||||||
def _on_load(self):
|
def on_load(self):
|
||||||
if not self.bot.database.has_table("markov"):
|
if not self.bot.database.has_table("markov"):
|
||||||
self.bot.database.execute("""CREATE TABLE markov
|
self.bot.database.execute("""CREATE TABLE markov
|
||||||
(channel_id INTEGER, first_word TEXT, second_word TEXT,
|
(channel_id INTEGER, first_word TEXT, second_word TEXT,
|
||||||
|
|
Loading…
Reference in a new issue