fix(aurora): awaited a coroutine

This commit is contained in:
Seaswimmer 2024-06-05 00:41:41 -04:00
parent 3383e84221
commit fe5823b637
Signed by untrusted user: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -342,7 +342,7 @@ class Moderation(AuroraGuildModel):
else:
close_db = False
moderation_id = cls.get_next_case_number(bot=bot, guild_id=guild_id)
moderation_id = await cls.get_next_case_number(bot=bot, guild_id=guild_id)
case = {
"moderation_id": moderation_id,