From a190f756c5cb39522b6d715c4f53dcfccc8dc511 Mon Sep 17 00:00:00 2001 From: Paillat Date: Sat, 10 Dec 2022 01:15:31 +0100 Subject: [PATCH] Update premiumcode.py --- code/premiumcode.py | 1 + 1 file changed, 1 insertion(+) diff --git a/code/premiumcode.py b/code/premiumcode.py index 07fd2bd..38d6114 100644 --- a/code/premiumcode.py +++ b/code/premiumcode.py @@ -7,6 +7,7 @@ intents = discord.Intents.all() conn = sqlite3.connect('premium.db') c = conn.cursor() c.execute('''CREATE TABLE IF NOT EXISTS data (user_id text, guild_id text, premium boolean)''') +c.commit() bot = discord.Bot() logging.basicConfig(level=logging.INFO) @bot.command()