fix(aurora): awaited two coroutines
This commit is contained in:
parent
ca4510d3a5
commit
d629f1a5a2
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ class ImportAuroraView(ui.View):
|
|||
|
||||
database = await connect()
|
||||
query = f"DROP TABLE IF EXISTS moderation_{self.ctx.guild.id};"
|
||||
database.execute(query)
|
||||
database.commit()
|
||||
await database.execute(query)
|
||||
await database.commit()
|
||||
|
||||
await interaction.edit_original_response(content="Creating new table...")
|
||||
|
||||
|
|
Loading…
Reference in a new issue