Update premiumcode.py

This commit is contained in:
Paillat
2022-12-10 01:17:53 +01:00
parent a190f756c5
commit 8ff9e58953

View File

@@ -7,7 +7,7 @@ intents = discord.Intents.all()
conn = sqlite3.connect('premium.db') conn = sqlite3.connect('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)''')
c.commit() conn.commit()
bot = discord.Bot() bot = discord.Bot()
logging.basicConfig(level=logging.INFO) logging.basicConfig(level=logging.INFO)
@bot.command() @bot.command()