fix(aurora): fixed a TypeError in the note and warn handlers
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s

This commit is contained in:
Seaswimmer 2024-07-12 16:05:05 -04:00
parent f1e763673b
commit b379584251
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -45,7 +45,7 @@ class Note(Type):
try: try:
embed = await message_factory( embed = await message_factory(
bot=ctx.bot, bot=ctx.bot,
color=await ctx.embed_color, color=await ctx.embed_color(),
guild=ctx.guild, guild=ctx.guild,
moderator=ctx.author, moderator=ctx.author,
reason=reason, reason=reason,
@ -106,7 +106,7 @@ class Warn(Type):
try: try:
embed = await message_factory( embed = await message_factory(
bot=ctx.bot, bot=ctx.bot,
color=await ctx.embed_color, color=await ctx.embed_color(),
guild=ctx.guild, guild=ctx.guild,
moderator=ctx.author, moderator=ctx.author,
reason=reason, reason=reason,