fix(aurora): fixed a TypeError in the note and warn handlers
This commit is contained in:
parent
f1e763673b
commit
b379584251
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue