mirror of
https://github.com/Fluffy-Bean/Lynxie.git
synced 2025-05-22 19:34:57 +00:00
style: format code with black
Format code with black
This commit fixes the style issues introduced in c359356
according to the output
from Black.
Details: None
This commit is contained in:
parent
c359356f4b
commit
b3bd795e84
2 changed files with 6 additions and 5 deletions
|
@ -2,7 +2,11 @@ import os
|
||||||
import dotenv
|
import dotenv
|
||||||
from discord import Object
|
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)
|
DISCORD_GUILD_ID = Object(id=1040757387033849976)
|
||||||
LYNXIE_PREFIX = "?"
|
LYNXIE_PREFIX = "?"
|
||||||
|
|
||||||
|
|
|
@ -51,9 +51,6 @@ def error_message(error: str) -> discord.Embed:
|
||||||
title="Error :(",
|
title="Error :(",
|
||||||
description=error,
|
description=error,
|
||||||
colour=discord.Colour.red(),
|
colour=discord.Colour.red(),
|
||||||
).set_footer(
|
).set_footer(text=f"For more information, use the " f"{LYNXIE_PREFIX}help command.")
|
||||||
text=f"For more information, use the "
|
|
||||||
f"{LYNXIE_PREFIX}help command."
|
|
||||||
)
|
|
||||||
|
|
||||||
return embed
|
return embed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue