From 70ab161f2838eac81aadf6b859d4e2d6d863dc98 Mon Sep 17 00:00:00 2001 From: xtaodada <1344089750@qq.com> Date: Sat, 4 Apr 2020 15:19:55 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=BA=90=E4=BB=A3=E7=A0=81=E6=98=BE=E7=A4=BA=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagermaid/modules/help.py | 2 +- pagermaid/modules/message.py | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/pagermaid/modules/help.py b/pagermaid/modules/help.py index b8d3728..4f798b9 100644 --- a/pagermaid/modules/help.py +++ b/pagermaid/modules/help.py @@ -19,4 +19,4 @@ async def help(context): for command in sorted(help_messages, reverse=False): result += "`" + str(command) result += "`, " - await context.edit(result[:-2] + "\n**发送 \"-help <命令>\" 以查看特定命令的帮助。**") + await context.edit(result[:-2] + "\n**发送 \"-help <命令>\" 以查看特定命令的帮助。** [源代码](https://github.com/xtaodada/PagerMaid-Modify/)") diff --git a/pagermaid/modules/message.py b/pagermaid/modules/message.py index 8d2d177..465a2b5 100644 --- a/pagermaid/modules/message.py +++ b/pagermaid/modules/message.py @@ -186,11 +186,4 @@ async def source(context): description="显示原始 PagerMaid 项目主页的URL。") async def site(context): """ Outputs the site URL. """ - await context.edit("https://katonkeyboard.moe/pagermaid.html") - - -@listener(outgoing=True, command="sources", - description="显示 PagerMaid-Modify 存储库的URL。") -async def sources(context): - """ Outputs the repository URL. """ - await context.edit("https://github.com/xtaodada/PagerMaid-Modify/") + await context.edit("https://katonkeyboard.moe/pagermaid.html") \ No newline at end of file