DiscordApplicationBot/setup.py

8 lines
318 B
Python
Raw Permalink Normal View History

import sqlite3
2023-08-10 22:22:58 +00:00
con = sqlite3.connect("applications.db")
cur = con.cursor()
2023-08-20 10:54:54 +00:00
cur.execute("CREATE TABLE app_msg_db(msg_id, user_id, guild_id, app_name)")
cur.execute("CREATE TABLE app_guildapp_db(guild_id, guild_name, applications_blob)")
cur.execute("CREATE TABLE app_start_db(msg_id, app_name, guild_id)")
con.commit()