diff --git a/modules/user/currency.py b/modules/user/currency.py index 77b6572..baa9694 100644 --- a/modules/user/currency.py +++ b/modules/user/currency.py @@ -14,7 +14,7 @@ class Currency: guild_id = str(interaction.guild_id) user_id = str(interaction.user.id) earned = random.randint(1, 10) - + conn = sqlite3.connect(self.db_path) cursor = conn.cursor() cursor.execute(""" diff --git a/modules/user/xp.py b/modules/user/xp.py index 0e0ab02..689ac4a 100644 --- a/modules/user/xp.py +++ b/modules/user/xp.py @@ -20,7 +20,7 @@ class XP: guild_id = str(interaction.guild_id) user_id = str(interaction.user.id) earned_xp = random.randint(5, 15) - + conn = sqlite3.connect(self.db_path) cursor = conn.cursor() cursor.execute("""