🔥 Remove agent_detail to player_card

This commit is contained in:
xtaodada 2024-12-21 14:34:23 +08:00
parent c3812aa36f
commit 5f3ac5bdf5
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659
2 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,6 @@ class AgentDetailPlugin(Plugin):
break
return "#" + " #".join(tags)
@handler.command(command="agent_detail", block=False)
@handler.message(filters=filters.Regex("^角色详细信息查询(.*)"), block=False)
async def command_start(self, update: "Update", context: "ContextTypes.DEFAULT_TYPE") -> None:
user_id = await self.get_real_user_id(update)

View File

@ -68,6 +68,7 @@ class PlayerCards(Plugin):
return "#" + " #".join(tags)
@handler.command(command="player_card", player=True, block=False)
@handler.command(command="agent_detail", player=True, block=False)
@handler.message(filters=filters.Regex("^角色卡片查询(.*)"), player=True, block=False)
async def player_cards(self, update: "Update", context: "ContextTypes.DEFAULT_TYPE") -> None:
user_id = await self.get_real_user_id(update)