Files
JWeBot/extensions/official/person-directory/src/person_directory.py
T
JWeBot Contributors e4365841ed
check / local-gate (push) Failing after 1m38s
Release beta 2.0.0.1021
2026-10-21 17:05:09 +08:00

19 lines
584 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""Generated reviewed adapter for person-directory."""
from jwebot_sdk import ServiceCommandAdapter, SingleGroupContext
PROFILE = 'person-directory'
AUTHOR = 'official'
DESCRIPTION = '人物索引'
HELP_ENTRIES = ('/人物列表 [页码] /people;/人物 [名称或别名] /person',)
COMMANDS = ('/人物列表', '/别名列表', '/people', '/人物', '/个人属性', '/person')
ADAPTER = ServiceCommandAdapter(
PROFILE,
metadata={"local_extension": PROFILE, "author": AUTHOR},
)
def plugin(context: SingleGroupContext) -> None:
ADAPTER.register(context, COMMANDS)