diff --git a/lynxie/config.py b/lynxie/config.py index f6e75d9..62c1160 100644 --- a/lynxie/config.py +++ b/lynxie/config.py @@ -2,7 +2,11 @@ import os import dotenv from discord import Object -DISCORD_TOKEN = dotenv.dotenv_values(".env").get("DISCORD_TOKEN") or os.environ.get("DISCORD_TOKEN") or None +DISCORD_TOKEN = ( + dotenv.dotenv_values(".env").get("DISCORD_TOKEN") + or os.environ.get("DISCORD_TOKEN") + or None +) DISCORD_GUILD_ID = Object(id=1040757387033849976) LYNXIE_PREFIX = "?" diff --git a/lynxie/utils.py b/lynxie/utils.py index fef6d38..cbe58c1 100644 --- a/lynxie/utils.py +++ b/lynxie/utils.py @@ -51,9 +51,6 @@ def error_message(error: str) -> discord.Embed: title="Error :(", description=error, colour=discord.Colour.red(), - ).set_footer( - text=f"For more information, use the " - f"{LYNXIE_PREFIX}help command." - ) + ).set_footer(text=f"For more information, use the " f"{LYNXIE_PREFIX}help command.") return embed