fix(aurora): fixed another AttributeError
This commit is contained in:
parent
f2a88cbf94
commit
fac00feeef
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ async def log(ctx: commands.Context, moderation_id: int, resolved: bool = False)
|
||||||
logging_channel = ctx.guild.get_channel(logging_channel_id)
|
logging_channel = ctx.guild.get_channel(logging_channel_id)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
moderation = await Moderation.find_by_id(ctx.bot, moderation_id, ctx.guild_id)
|
moderation = await Moderation.find_by_id(ctx.bot, moderation_id, ctx.guild.id)
|
||||||
embed = await log_factory(
|
embed = await log_factory(
|
||||||
ctx=ctx, moderation=moderation, resolved=resolved
|
ctx=ctx, moderation=moderation, resolved=resolved
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue