Skip to content

Commit

Permalink
RC
Browse files Browse the repository at this point in the history
  • Loading branch information
Tosd0 committed Sep 29, 2024
1 parent 8900099 commit 4d6e5d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

## 使用
Expand Down
2 changes: 1 addition & 1 deletion nonebot_plugin_osu_match_monitor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 4d6e5d7

Please sign in to comment.