From 6916b4fa2d4d08d38663a2011fa5fdceaffe3332 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Sat, 29 Jul 2023 01:00:20 +0800 Subject: [PATCH] :bug: Fixed `update_player_card` callback_data format issue --- plugins/genshin/player_cards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/genshin/player_cards.py b/plugins/genshin/player_cards.py index 99ca235c..d1df1732 100644 --- a/plugins/genshin/player_cards.py +++ b/plugins/genshin/player_cards.py @@ -167,7 +167,7 @@ class PlayerCards(Plugin): [ InlineKeyboardButton( "更新面板", - callback_data=f"update_player_card|{user.id}|{player_info.player_id,}", + callback_data=f"update_player_card|{user.id}|{player_info.player_id}", ) ] ]