From 5f3ac5bdf54cf88202dd71d40f1cb959cf636c5b Mon Sep 17 00:00:00 2001 From: xtaodada Date: Sat, 21 Dec 2024 14:34:23 +0800 Subject: [PATCH] :fire: Remove agent_detail to player_card --- plugins/zzz/agent_detail.py | 1 - plugins/zzz/player_cards.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/zzz/agent_detail.py b/plugins/zzz/agent_detail.py index 7d70d47..0289d23 100644 --- a/plugins/zzz/agent_detail.py +++ b/plugins/zzz/agent_detail.py @@ -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) diff --git a/plugins/zzz/player_cards.py b/plugins/zzz/player_cards.py index 7cd7f00..d736765 100644 --- a/plugins/zzz/player_cards.py +++ b/plugins/zzz/player_cards.py @@ -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)