Skip to content

Commit

Permalink
fix: f-string error
Browse files Browse the repository at this point in the history
  • Loading branch information
Mantouisyummy authored Mar 11, 2024
1 parent ff5aa4a commit d16119b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lava/modal.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ async def callback(self, interaction: Interaction) -> Optional[LoadResult]:
await interaction.edit_original_response(
embed=ErrorEmbed(
title="你給的連結太多了或是歌單超出限制了! (最多25個)",
description=f"目前歌單中的歌曲數量: {len(data[self.name]["data"]['tracks'])}",
description=f"目前歌單中的歌曲數量: {len(data[self.name]['data']['tracks'])}",
)
)

0 comments on commit d16119b

Please sign in to comment.