fix(moderation): awaited a coroutine in utils.log
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s

This commit is contained in:
Seaswimmer 2023-12-17 03:36:35 -05:00
parent 920e70d7b1
commit 53290e7062
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

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