forked from cswimr/SeaCogs
fix(moderation): awaited a coroutine in utils.log
This commit is contained in:
parent
920e70d7b1
commit
53290e7062
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue