diff --git a/README.md b/README.md index 5c3bd41..6c126a5 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,7 @@ _✨ NoneBot osu! 比赛监控 ✨_ ### 如何获取 osu! API Key? 您需要注册一个 [osu!](https://osu.ppy.sh) 账号,随后打开[这个链接](https://osu.ppy.sh/home/account/edit#legacy-api)进行申请。 + ![api.png](https://github.com/Sevenyine/nonebot-plugin-osu-match-monitor/blob/resources/api.png?raw=true) ## 使用 diff --git a/nonebot_plugin_osu_match_monitor/__init__.py b/nonebot_plugin_osu_match_monitor/__init__.py index 7ffbb9b..2100020 100644 --- a/nonebot_plugin_osu_match_monitor/__init__.py +++ b/nonebot_plugin_osu_match_monitor/__init__.py @@ -85,7 +85,7 @@ async def handle_monitor(bot: Bot, event: Event, args: Message = CommandArg()): logger.error(f"获取房间 {room_id} 信息失败") @stop_monitor.handle() -async def handle_stop_monitor(bot: Bot, event: Event, args: Message = CommandArg()): +async def handle_stop_monitor(args: Message = CommandArg()): room_id = args.extract_plain_text().strip() logger.debug(f"收到停止监控命令,房间ID:{room_id}") if room_id in monitoring_rooms: diff --git a/pyproject.toml b/pyproject.toml index f210b7b..bcd195b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "nonebot-plugin-osu-match-monitor" -version = "1.0.0" +version = "1.0.1" description = "A NoneBot2 plugin used to monitor osu! match activities using match id." readme = "README.md" keywords = ["nonebot2", "osu!", "osu"]