add # 新增农场详述指令

This commit is contained in:
2026-10-20 18:47:36 +08:00
parent 024541bea2
commit 07a2f0f53e
10 changed files with 411 additions and 9 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ def handler_for(action):
message_id = getattr(event, "id", None)
try:
avatar = (await avatar_for(user_id, platform)
if action == "farm" else None)
if action in ("farm", "details") else None)
response = await runtime.execute(
action, args.extract_plain_text(), bot_id=str(bot.self_id),
platform=platform, user_id=user_id, message_id=message_id,