update text

This commit is contained in:
felinae98 2021-02-16 21:40:58 +08:00
parent 2e38d35cd3
commit 29971ec7ac
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610

View File

@ -15,7 +15,7 @@ from .utils import parse_text
help_match = on_command('help', rule=to_me(), priority=5)
@help_match.handle()
async def send_help(bot: Bot, event: Event, state: T_State):
message = '使用方法:\n@bot 添加订阅(仅管理员)\n@bot 查询订阅\n@bot 删除订阅(仅管理员)'
message = '使用方法:\n@bot 添加订阅(仅管理员)\n@bot 查询订阅\n@bot 删除订阅(仅管理员)'
await help_match.finish(Message(await parse_text(message)))
add_sub = on_command("添加订阅", rule=to_me(), permission=GROUP_ADMIN | GROUP_OWNER | SUPERUSER, priority=5)
@ -124,6 +124,7 @@ async def send_list(bot: Bot, event: GroupMessageEvent, state: T_State):
if platform.enable_tag:
res += ' {}'.format(', '.join(sub['tags']))
res += '\n'
res += '请输入要删除的订阅的序号'
await bot.send(event=event, message=Message(await parse_text(res)))
@del_sub.receive()