From 790e4b49e4394565aba3a76c10ed6b90ffb37c9b Mon Sep 17 00:00:00 2001 From: Kyomotoi <0w0@imki.moe> Date: Fri, 4 Nov 2022 10:17:46 +0800 Subject: =?UTF-8?q?=F0=9F=8E=A8=20=E8=B7=9F=E9=9A=8F=E5=9F=BA=E7=A1=80?= =?UTF-8?q?=E8=AE=BE=E6=96=BD=E5=8F=98=E5=8C=96,=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= 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 4e3a7ec..aa38f78 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