From e4f2cccf64a7fa63e54bd06185fc96344351ad05 Mon Sep 17 00:00:00 2001 From: ZhehaoMi <1125263974@qq.com> Date: Thu, 4 Oct 2018 23:26:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=93OI-Wiki=E5=88=97=E8=A1=A8=E4=B8=AD?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E6=90=9C=E7=B4=A2=E5=86=85=E5=AE=B9=E6=97=B6?= =?UTF-8?q?=E6=8E=A8=E9=80=81OIwiki=E7=9A=84=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands.py b/commands.py index bcde5f4..5b45fb5 100644 --- a/commands.py +++ b/commands.py @@ -100,7 +100,7 @@ def oiwiki_query(bot: CQHttp, context=None, args=None): wikipages = decoder.decode(page.read().decode("utf-8")) query_text = args[1] if query_text in wikipages: - bot.send(context, "OI Wiki 中有名为「%s」的页面:%s" % + bot.send(context, "OI Wiki 列表中有名为「%s」的页面:%s" % (query_text, wikipages[query_text])) else: - bot.send(context, "OI Wiki 中无结果") + bot.send(context, "OI Wiki 列表中无结果,请访问:https://oi-wiki.org/ 查看更多内容") -- Gitee