From dddc29b9c18b9d646ff18144094584e2badbe384 Mon Sep 17 00:00:00 2001 From: Kyomotoi <0w0@imki.moe> Date: Fri, 4 Nov 2022 08:52:56 +0800 Subject: =?UTF-8?q?=F0=9F=8E=A8=20=E8=B7=9F=E9=9A=8F=E5=BA=95=E5=B1=82?= =?UTF-8?q?=E7=9A=84=E6=9B=B4=E6=94=B9,=20=E8=A7=84=E8=8C=83=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI/plugins/anti_effort/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ATRI/plugins/anti_effort') diff --git a/ATRI/plugins/anti_effort/__init__.py b/ATRI/plugins/anti_effort/__init__.py index aa38f78..4e3a7ec 100644 --- a/ATRI/plugins/anti_effort/__init__.py +++ b/ATRI/plugins/anti_effort/__init__.py @@ -26,7 +26,7 @@ ae = AntiEffort() _lmt_notice = choice(["慢...慢一..点❤", "冷静1下", "歇会歇会~~", "呜呜...别急"]) -_GET_URL_MSG = ( +__GET_URL_MSG = ( MessageBuilder("请键入wakatime share embed URL:") .text("- 前往 wakatime.com/share/embed") .text("- Format 选择 JSON") @@ -41,7 +41,7 @@ add_user = plugin.on_command("!我也要卷", "加入卷王统计榜") @add_user.got( "waka_url", - _GET_URL_MSG, + __GET_URL_MSG, ) @add_user.got("rank_nickname", "如何在排行榜中称呼你捏") @add_user.got("to_global", "你希望加入公共排行榜吗?(y/n)", [Cooldown(60, prompt=_lmt_notice)]) @@ -80,7 +80,7 @@ async def _join_global_rank(event: GroupMessageEvent): await join_global_rank.finish("完成~!") -@join_global_rank.got("waka_url", _GET_URL_MSG) +@join_global_rank.got("waka_url", __GET_URL_MSG) @join_global_rank.got( "rank_nickname", "如何在排行榜中称呼你捏", [Cooldown(60, prompt=_lmt_notice)] ) -- cgit v1.2.3