fix(aurora): awaited two coroutines

This commit is contained in:
Seaswimmer 2024-06-05 01:02:09 -04:00
parent ca4510d3a5
commit d629f1a5a2
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -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...")