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:
|
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,
|
||||||
|
|
Loading…
Reference in a new issue