diff --git a/config.gen.yml b/config.gen.yml index 408e829..494f2b0 100644 --- a/config.gen.yml +++ b/config.gen.yml @@ -7,8 +7,8 @@ # \//_____/ \/ \/ \/ \/ # =================================================================== -# API Credentials of your telegram application created at https://my.telegram.org/apps -api_key: "KEY_HERE" +# API Credentials of your telegram application created at https://my.telegram.org/apps | api_key is api_id +api_key: "ID_HERE" api_hash: "HASH_HERE" # Either debug logging is enabled or not diff --git a/pagermaid/modules/help.py b/pagermaid/modules/help.py index 4f798b9..1da31ce 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 <命令>\" 以查看特定命令的帮助。** [源代码](https://github.com/xtaodada/PagerMaid-Modify/)") + await context.edit(result[:-2] + "\n**发送 \"-help <命令>\" 以查看特定命令的帮助。** [源代码](https://t.me/PagerMaid_Modify)") diff --git a/pagermaid/modules/message.py b/pagermaid/modules/message.py index 434aeed..fc83043 100644 --- a/pagermaid/modules/message.py +++ b/pagermaid/modules/message.py @@ -38,7 +38,7 @@ async def userid(context): f"**用户ID:** `{user_id}`" ) else: - await context.edit("出错了呜呜呜 ~ 无法获取目标消息的信息。") + await context.edit("出错了呜呜呜 ~ 无法获取所回复消息的信息。") @listener(outgoing=True, command="chatid", @@ -88,7 +88,7 @@ async def log(context): @listener(outgoing=True, command="re", description="在当前会话复读回复的消息。(需要回复一条消息)", - parameters="次数") + parameters="<次数>") async def re(context): """ Forwards a message into this group """ reply = await context.get_reply_message() @@ -124,7 +124,7 @@ async def leave(context): except ChatIdInvalidError: await bot(LeaveChannelRequest(context.chat_id)) else: - await context.edit("出错了呜呜呜 ~ 当前聊天不是群聊。") + await context.edit("出错了呜呜呜 ~ 当前聊天似乎不是群聊。") @listener(outgoing=True, command="meter2feet", @@ -182,7 +182,7 @@ async def hitokoto(context): hitokoto_type = '哲学' elif hitokoto_json['type'] == 'l': hitokoto_type = '抖机灵' - await context.edit(f"{hitokoto_json['hitokoto']} - {hitokoto_json['from']} ({str(hitokoto_type)})") + await context.edit(f"{hitokoto_json['hitokoto']} - {hitokoto_json['from']}({str(hitokoto_type)})") @listener(outgoing=True, command="source", diff --git a/some-plugins/xtao-some.py b/some-plugins/xtao-some.py index dbb163c..db50632 100644 --- a/some-plugins/xtao-some.py +++ b/some-plugins/xtao-some.py @@ -225,7 +225,7 @@ async def ipping(context): @listener(outgoing=True, command="pixiv", description="查询插画信息 (或者回复一条消息)", - parameters="<页数>") + parameters="[<图片链接>] <图片序号>") async def pixiv(context): reply = await context.get_reply_message() await context.edit('正在查询中...')