From b37958425153c932141f803b6eec117b23832ba2 Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Fri, 12 Jul 2024 16:05:05 -0400 Subject: [PATCH] fix(aurora): fixed a TypeError in the note and warn handlers --- aurora/models/moderation_types.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aurora/models/moderation_types.py b/aurora/models/moderation_types.py index 0511333..6f1cb05 100644 --- a/aurora/models/moderation_types.py +++ b/aurora/models/moderation_types.py @@ -45,7 +45,7 @@ class Note(Type): try: embed = await message_factory( bot=ctx.bot, - color=await ctx.embed_color, + color=await ctx.embed_color(), guild=ctx.guild, moderator=ctx.author, reason=reason, @@ -106,7 +106,7 @@ class Warn(Type): try: embed = await message_factory( bot=ctx.bot, - color=await ctx.embed_color, + color=await ctx.embed_color(), guild=ctx.guild, moderator=ctx.author, reason=reason,