Update premiumcode.py

This commit is contained in:
Paillat
2022-12-10 01:19:50 +01:00
parent 8ff9e58953
commit dde42bb4dc

View File

@@ -4,7 +4,7 @@ import sqlite3 # pip install sqlite3
import logging # pip install logging import logging # pip install logging
import os # pip install os import os # pip install os
intents = discord.Intents.all() intents = discord.Intents.all()
conn = sqlite3.connect('premium.db') conn = sqlite3.connect('../database/premium.db')
c = conn.cursor() c = conn.cursor()
c.execute('''CREATE TABLE IF NOT EXISTS data (user_id text, guild_id text, premium boolean)''') c.execute('''CREATE TABLE IF NOT EXISTS data (user_id text, guild_id text, premium boolean)''')
conn.commit() conn.commit()