From bd6e532d2523f5fd0309f07b3e500d10f4def187 Mon Sep 17 00:00:00 2001 From: benx1n <1119809439@qq.com> Date: Mon, 2 Dec 2024 02:52:40 +0800 Subject: [PATCH] bump up 1.0.9 --- pyproject.toml | 2 +- src/plugins/hikari_bot/__init__.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e9caa96..38b017c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "hikari-bot" -version = "1.0.8" +version = "1.0.9" description = "Nonebot2 HikariBot,支持战舰世界水表查询" authors = ["benx1n "] license = "MIT" diff --git a/src/plugins/hikari_bot/__init__.py b/src/plugins/hikari_bot/__init__.py index d8df90f..8f92ee6 100644 --- a/src/plugins/hikari_bot/__init__.py +++ b/src/plugins/hikari_bot/__init__.py @@ -47,7 +47,7 @@ is_first_run = True _nlmt = DailyNumberLimiter(_max) _flmt = FreqLimiter(3) -__bot_version__ = '1.0.8' +__bot_version__ = '1.0.9' bot_get_random_pic = on_fullmatch('wws 随机表情包', block=True, priority=5) bot_update = on_fullmatch('wws 更新Hikari', priority=5, block=True, permission=SUPERUSER) @@ -189,7 +189,7 @@ async def GROUP_FILE_listen(bot: Bot, ev: NoticeEvent): return if not str(ev).__contains__('.wowsreplay'): return - #此项兼容docker部署协议端下载replay文件,自行前往协议端配置base64 + # 此项兼容docker部署协议端下载replay文件,自行前往协议端配置base64 if hasattr(ev.file, 'url') and ev.file.url and ev.file.url.startswith('file://'): base64_file = await bot.get_image(file=ev.file.id) if not str(base64_file).__contains__("'base64':"):