From 8c5e705c63cf1b9fdd6d541ceea67573e7f21890 Mon Sep 17 00:00:00 2001 From: Kyomotoi Date: Sun, 31 Oct 2021 16:54:08 +0800 Subject: =?UTF-8?q?=E2=99=BF=EF=B8=8F=F0=9F=8E=A8=20=E5=B0=8F=E6=94=B9?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - `plugins/curse`: 防止嘴臭api调用率达到限制而直接输出相关限制语句 - `plugins/rich`: 添加对小写bv号的支持 --- ATRI/plugins/curse.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ATRI/plugins/curse.py') diff --git a/ATRI/plugins/curse.py b/ATRI/plugins/curse.py index 85fe6d9..d407b55 100644 --- a/ATRI/plugins/curse.py +++ b/ATRI/plugins/curse.py @@ -27,6 +27,8 @@ class Curse(Service): async def now() -> str: res = await request.get(URL) result = res.text + if "访问太频繁服务器受不了啦" in result: + result = "爪巴,吃我一圈火箭拳——" return result -- cgit v1.2.3