From 1bac64eca7eb9098ec288eb42b5ba23891f73e35 Mon Sep 17 00:00:00 2001 From: i_iMikey <67828573+MikeyUsersREC@users.noreply.github.com> Date: Sat, 7 Dec 2024 15:20:05 +0000 Subject: [PATCH] Update utils.py --- utils/utils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/utils.py b/utils/utils.py index a787eba..4580258 100644 --- a/utils/utils.py +++ b/utils/utils.py @@ -190,9 +190,9 @@ async def interpret_embed(bot, ctx, channel, embed: dict, ics_id: int): try: embed.title = await sub_vars(bot, ctx, channel, embed.title) except AttributeError: - pass - - if str(var := await sub_vars(bot, ctx, channel, embed.author.name) != "None: + pass + + if str(var := await sub_vars(bot, ctx, channel, embed.author.name) != "None": try: embed.set_author(name=await sub_vars(bot, ctx, channel, embed.author.name)) except AttributeError: @@ -616,4 +616,4 @@ async def secure_logging(bot, guild_id, author_id, interpret_type: typing.Litera description=f"[{(await bot.bloxlink.get_roblox_info(bloxlink_user['robloxID']))['name']}:{bloxlink_user['robloxID']}](https://roblox.com/users/{bloxlink_user['robloxID']}/profile) attempted to use the command: {'`:m {}`'.format(command_string) if interpret_type == 'Message' else ('`:h {}`'.format(command_string) if interpret_type == 'Hint' else '`{}`'.format(command_string))}", color=RED_COLOR ).set_footer(text=f"Private Server: {server_status.join_key}") - ) \ No newline at end of file + )