This commit is contained in:
2026-01-05 21:54:52 +08:00

View File

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