From d16119b5599ed3250e0270bbfc6d1bcb44c0ec3d Mon Sep 17 00:00:00 2001 From: Mantouisyummy <51238168+Mantouisyummy@users.noreply.github.com> Date: Mon, 11 Mar 2024 17:16:07 +0800 Subject: [PATCH] fix: f-string error --- lava/modal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lava/modal.py b/lava/modal.py index c54bbbb..6f7e50d 100644 --- a/lava/modal.py +++ b/lava/modal.py @@ -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'])}", ) )