Skip to content

Commit b15e1cb

Browse files
committed
add balls details command
1 parent 8c314fc commit b15e1cb

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

ballsdex/packages/balls/cog.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -958,11 +958,7 @@ async def collection(
958958

959959
@app_commands.command()
960960
@app_commands.checks.cooldown(1, 5, key=lambda i: i.user.id)
961-
async def details(
962-
self,
963-
interaction: discord.Interaction["BallsDexBot"],
964-
countryball: BallEnabledTransform,
965-
):
961+
async def details(self, interaction: discord.Interaction["BallsDexBot"], countryball: BallEnabledTransform):
966962
"""
967963
Display detailed statistics for a specific countryball.
968964
@@ -994,7 +990,7 @@ async def details(
994990
f"⋄ **Capacity Description:** {ball.capacity_description}\n"
995991
f"⋄ **Image Credits:** {ball.credits}\n"
996992
).replace("⋄", "⋄"),
997-
color=discord.Color.blurple()
993+
color=discord.Color.blurple(),
998994
)
999995

1000996
await interaction.followup.send(embed=embed)

0 commit comments

Comments
 (0)