Merge branch 'main' into dev

This commit is contained in:
镀铬酸钾
2026-01-05 21:41:38 +08:00
committed by GitHub

View File

@@ -31,7 +31,6 @@ async def handle_echo(bot: Bot, event: MessageEvent, args: list[str]):
@matcher.command(
"赞我",
permission=MessageEvent.ADMIN,
override_permission_check=True
)
async def handle_poke(bot: Bot, event: MessageEvent, permission_granted: bool):
@@ -51,4 +50,4 @@ async def handle_poke(bot: Bot, event: MessageEvent, permission_granted: bool):
await bot.send_like(event.user_id, times=10)
await event.reply("好感度+10(〃''〃)")
except Exception as e:
await event.reply(f"点赞失败了 >_<: {str(e)}")
await event.reply(f"点赞失败了 >_<: {str(e)}")