From d629f1a5a27377a7d79dd8c56c8685be3afdbf1e Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Wed, 5 Jun 2024 01:02:09 -0400 Subject: [PATCH] fix(aurora): awaited two coroutines --- aurora/importers/aurora.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aurora/importers/aurora.py b/aurora/importers/aurora.py index b7edc71..9bc98ae 100644 --- a/aurora/importers/aurora.py +++ b/aurora/importers/aurora.py @@ -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...")