db fix
This commit is contained in:
1 parent
d53fd4790b
commit
887fdbf25c
3 files changed
+71
-42
No files matched your search
@@ -165,7 +165,7 @@ async def CreateTicketChannel(interaction: discord.Interaction, chosen_language,
|
||||
print("Error: Category not found")
|
||||
return None
|
||||
|
||||
db = bot.database.conn
|
||||
db = await bot.database.get_conn()
|
||||
|
||||
cursor = await db.execute(
|
||||
"INSERT INTO tickets (user_id, language, reason) VALUES (?, ?, ?)",
|
||||
|
||||
Reference in new issue
Block a user