fix(aurora): fixed another AttributeError
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s

This commit is contained in:
Seaswimmer 2024-07-06 11:47:56 -04:00
parent f2a88cbf94
commit fac00feeef
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -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)
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(
ctx=ctx, moderation=moderation, resolved=resolved
)