🔥 移除 sr 触发角色信息命令 (fix #2)

可以用 `sruid`
This commit is contained in:
MingxuanGame 2023-05-01 14:34:55 +08:00 committed by GitHub
parent 720658e478
commit a48cdc5493
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ from .draw_roleinfo_card import get_role_img
sv_get_info = SV('sr查询信息')
@sv_get_info.on_command(('sr', 'sruid'))
@sv_get_info.on_command(('sruid'))
async def send_role_info(bot: Bot, ev: Event):
name = ''.join(re.findall('[\u4e00-\u9fa5]', ev.text))
if name: