From 53290e7062ca6f7730eaa949d06c9126f781211e Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 17 Dec 2023 03:36:35 -0500 Subject: [PATCH] fix(moderation): awaited a coroutine in utils.log --- moderation/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moderation/utils.py b/moderation/utils.py index c61f04a..bff13b4 100644 --- a/moderation/utils.py +++ b/moderation/utils.py @@ -195,7 +195,7 @@ async def log(interaction: Interaction, moderation_id: int, resolved: bool = Fal case = await fetch_case(moderation_id, interaction.guild.id) if case: embed = await embed_factory( - "log", interaction.client.get_embed_color(None), interaction=interaction, case_dict=case, resolved=resolved + "log", await interaction.client.get_embed_color(None), interaction=interaction, case_dict=case, resolved=resolved ) try: await logging_channel.send(embed=embed)