From 4c0b7a09307ecded1be1c7563ef65666e937c320 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 26 Jan 2022 21:36:11 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Show=20restart=20result=20after=20r?= =?UTF-8?q?estart=20=E2=9C=A8=20ping=20command=20add=20real=20server=20del?= =?UTF-8?q?ay?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- languages/built-in/zh-tw.yml | 2 +- pagermaid/__main__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/languages/built-in/zh-tw.yml b/languages/built-in/zh-tw.yml index 59147df..9d64e19 100644 --- a/languages/built-in/zh-tw.yml +++ b/languages/built-in/zh-tw.yml @@ -462,7 +462,7 @@ eval_need_dev: '**請注意:此命令可以直接操作您的賬戶** # restart restart_des: 重新啟動 restart_processing: 正在嘗試重新啟動 -restart_complete: 重新啟動 +restart_complete: 重新啟動完成 restart_log: 重新啟動 PagerMaid-Modify # trace trace_des: 跟蹤URL的重新導向。 diff --git a/pagermaid/__main__.py b/pagermaid/__main__.py index 16cf178..6d61025 100644 --- a/pagermaid/__main__.py +++ b/pagermaid/__main__.py @@ -59,7 +59,7 @@ if redis_status(): restart_args = restart_args.decode("utf-8") restart_msg, restart_chat = restart_args.split("|") await bot.edit_message( - restart_chat, restart_msg, + int(restart_chat), int(restart_msg), lang('restart_complete') )