mirror of
https://github.com/Fluffy-Bean/Lynxie.git
synced 2025-05-21 10:54:59 +00:00
style: format code with black
Format code with black
This commit fixes the style issues introduced in 960f452
according to the output
from Black.
Details: None
This commit is contained in:
parent
960f452e4a
commit
6b1fee77f0
1 changed files with 4 additions and 3 deletions
|
@ -72,7 +72,7 @@ class E621(commands.Cog):
|
|||
embed.add_field(
|
||||
name="Score",
|
||||
value=f"^ {response['posts'][0]['score']['up']} | "
|
||||
f"v {response['posts'][0]['score']['down']}",
|
||||
f"v {response['posts'][0]['score']['down']}",
|
||||
)
|
||||
embed.add_field(
|
||||
name="Favorites",
|
||||
|
@ -86,13 +86,14 @@ class E621(commands.Cog):
|
|||
)
|
||||
embed.add_field(
|
||||
name="Tags",
|
||||
value=", ".join(response["posts"][0]["tags"]["general"]) or "No tags provided.",
|
||||
value=", ".join(response["posts"][0]["tags"]["general"])
|
||||
or "No tags provided.",
|
||||
inline=False,
|
||||
)
|
||||
|
||||
embed.set_footer(
|
||||
text=f"ID: {response['posts'][0]['id']} | "
|
||||
f"Created: {response['posts'][0]['created_at']}"
|
||||
f"Created: {response['posts'][0]['created_at']}"
|
||||
)
|
||||
|
||||
embed.set_image(url=response["posts"][0]["file"]["url"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue