mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 01:06:19 +00:00
Update premiumcode.py
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user