diff --git a/code/premiumcode.py b/code/premiumcode.py index 38d6114..5fe5db9 100644 --- a/code/premiumcode.py +++ b/code/premiumcode.py @@ -7,7 +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() +conn.commit() bot = discord.Bot() logging.basicConfig(level=logging.INFO) @bot.command()