mirror of
https://github.com/PaiGramTeam/MibooGram.git
synced 2025-01-09 23:04:29 +00:00
🔥 Remove agent_detail to player_card
This commit is contained in:
parent
c3812aa36f
commit
5f3ac5bdf5
@ -180,7 +180,6 @@ class AgentDetailPlugin(Plugin):
|
|||||||
break
|
break
|
||||||
return "#" + " #".join(tags)
|
return "#" + " #".join(tags)
|
||||||
|
|
||||||
@handler.command(command="agent_detail", block=False)
|
|
||||||
@handler.message(filters=filters.Regex("^角色详细信息查询(.*)"), block=False)
|
@handler.message(filters=filters.Regex("^角色详细信息查询(.*)"), block=False)
|
||||||
async def command_start(self, update: "Update", context: "ContextTypes.DEFAULT_TYPE") -> None:
|
async def command_start(self, update: "Update", context: "ContextTypes.DEFAULT_TYPE") -> None:
|
||||||
user_id = await self.get_real_user_id(update)
|
user_id = await self.get_real_user_id(update)
|
||||||
|
@ -68,6 +68,7 @@ class PlayerCards(Plugin):
|
|||||||
return "#" + " #".join(tags)
|
return "#" + " #".join(tags)
|
||||||
|
|
||||||
@handler.command(command="player_card", player=True, block=False)
|
@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)
|
@handler.message(filters=filters.Regex("^角色卡片查询(.*)"), player=True, block=False)
|
||||||
async def player_cards(self, update: "Update", context: "ContextTypes.DEFAULT_TYPE") -> None:
|
async def player_cards(self, update: "Update", context: "ContextTypes.DEFAULT_TYPE") -> None:
|
||||||
user_id = await self.get_real_user_id(update)
|
user_id = await self.get_real_user_id(update)
|
||||||
|
Loading…
Reference in New Issue
Block a user