diff options
-rw-r--r-- | bot/seasons/easter/egg_hunt/cog.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/seasons/easter/egg_hunt/cog.py b/bot/seasons/easter/egg_hunt/cog.py index 85615549..bbbecd7f 100644 --- a/bot/seasons/easter/egg_hunt/cog.py +++ b/bot/seasons/easter/egg_hunt/cog.py @@ -347,6 +347,8 @@ class EggHunt(commands.Cog): self.task.add_done_callback(self.task_cleanup) def prepare_db(self): + """Ensures database tables all exist and if not, creates them.""" + db = sqlite3.connect(DB_PATH) c = db.cursor() |