mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-29 02:57:22 +00:00
🐛 Fix PlayerInfo
is not persisted
This commit is contained in:
parent
63c75307e3
commit
e025a3a656
@ -200,7 +200,7 @@ class PlayersManagesPlugin(Plugin):
|
|||||||
await callback_query.edit_message_text(f"账号 {player_id} 未找到")
|
await callback_query.edit_message_text(f"账号 {player_id} 未找到")
|
||||||
return
|
return
|
||||||
|
|
||||||
player_info = await self.player_info_service.get(player)
|
player_info = await self.player_info_service.get_form_sql(player)
|
||||||
if player_info is None:
|
if player_info is None:
|
||||||
await callback_query.edit_message_text(f"账号 {player_id} 信息未找到")
|
await callback_query.edit_message_text(f"账号 {player_id} 信息未找到")
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user