mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
✨ 重置命令为shell style,并使用快捷方式保留之前的行为
This commit is contained in:
@@ -47,7 +47,7 @@ UTC = timezone.utc
|
||||
driver = get_driver()
|
||||
|
||||
|
||||
@alc.assign('query')
|
||||
@alc.assign('TETRIO.query')
|
||||
async def _(event: Event, matcher: Matcher, target: At | Me, event_session: EventSession):
|
||||
async with trigger(
|
||||
session_persist_id=await get_session_persist_id(event_session),
|
||||
@@ -77,7 +77,7 @@ async def _(event: Event, matcher: Matcher, target: At | Me, event_session: Even
|
||||
await message.finish()
|
||||
|
||||
|
||||
@alc.assign('query')
|
||||
@alc.assign('TETRIO.query')
|
||||
async def _(account: Player, event_session: EventSession):
|
||||
async with trigger(
|
||||
session_persist_id=await get_session_persist_id(event_session),
|
||||
|
||||
Reference in New Issue
Block a user