19 lines
487 B
Python
19 lines
487 B
Python
"""Generated reviewed adapter for repeat-ranking."""
|
|
|
|
from jwebot_sdk import ServiceCommandAdapter, SingleGroupContext
|
|
|
|
|
|
PROFILE = 'repeat-ranking'
|
|
AUTHOR = 'jwebot'
|
|
DESCRIPTION = '查看北京时间今日复读排行'
|
|
HELP_ENTRIES = ('/复读榜',)
|
|
COMMANDS = ('/复读榜', '/复读')
|
|
ADAPTER = ServiceCommandAdapter(
|
|
PROFILE,
|
|
metadata={"local_extension": PROFILE, "author": AUTHOR},
|
|
)
|
|
|
|
|
|
def plugin(context: SingleGroupContext) -> None:
|
|
ADAPTER.register(context, COMMANDS)
|