mirror of
https://github.com/baiqwerdvd/ArknightsUID.git
synced 2025-05-04 19:17:33 +08:00
use on_command
This commit is contained in:
parent
b3d4bb3856
commit
456ba8bf4b
@ -9,7 +9,7 @@ from .get_char_snapshot import get_char_snapshot
|
||||
sv_get_char_snapshot = SV("ark角色快照")
|
||||
|
||||
|
||||
@sv_get_char_snapshot.on_prefix(f"{PREFIX}角色快照")
|
||||
@sv_get_char_snapshot.on_command(f"{PREFIX}角色快照")
|
||||
async def send_char_snapshot(bot: Bot, ev: Event):
|
||||
user_id = ev.at if ev.at else ev.user_id
|
||||
uid = await ArknightsBind.get_uid_by_game(user_id, ev.bot_id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user