️ 修改源代码显示位置

This commit is contained in:
xtaodada 2020-04-04 15:19:55 +08:00
parent 81ab3f1cd4
commit 70ab161f28
No known key found for this signature in database
GPG Key ID: 39EFACA711DF5D8C
2 changed files with 2 additions and 9 deletions

View File

@ -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/)")

View File

@ -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")