From 8474e13ebb99f1115cf48041e39528327288c9d0 Mon Sep 17 00:00:00 2001 From: Kyomotoi Date: Sun, 27 Mar 2022 15:25:59 +0800 Subject: =?UTF-8?q?=F0=9F=9A=A8=20=E5=AE=89=E6=8A=9A=20pylance?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI/plugins/funny/data_source.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'ATRI/plugins/funny') diff --git a/ATRI/plugins/funny/data_source.py b/ATRI/plugins/funny/data_source.py index 8edc88a..75fa4ee 100644 --- a/ATRI/plugins/funny/data_source.py +++ b/ATRI/plugins/funny/data_source.py @@ -17,14 +17,9 @@ FUNNY_DIR = Path(".") / "data" os.makedirs(FUNNY_DIR, exist_ok=True) -__doc__ = """ -乐1乐,莫当真 -""" - - class Funny(Service): def __init__(self): - Service.__init__(self, "乐", __doc__, rule=is_in_service("乐")) + Service.__init__(self, "乐", "乐1乐,莫当真", rule=is_in_service("乐")) @staticmethod async def idk_laugh(name: str) -> str: -- cgit v1.2.3