From 45dc8f9df74d0890eeac8b0ea2f425811791ab7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Wed, 27 Jul 2022 00:09:15 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20=E4=BF=AE=E5=A4=8D=20`artifact?= =?UTF-8?q?=5Frate`=20=E6=8F=92=E4=BB=B6=E7=9A=84=20`cancel`=20=E5=87=BD?= =?UTF-8?q?=E6=95=B0=E6=9C=AA=E6=89=BE=E5=88=B0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/artifact_rate.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/artifact_rate.py b/plugins/artifact_rate.py index 8af26e3..dc47721 100644 --- a/plugins/artifact_rate.py +++ b/plugins/artifact_rate.py @@ -8,18 +8,18 @@ from telegram.helpers import escape_markdown from logger import Log from model.apihelper.artifact import ArtifactOcrRate, get_comment, get_format_sub_item +from plugins.base import BasePlugins from utils.decorators.error import error_callable from utils.decorators.restricts import restricts from utils.plugins.manager import listener_plugins_class @listener_plugins_class() -class ArtifactRate: +class ArtifactRate(BasePlugins): + """圣遗物评分""" + COMMAND_RESULT = 1 - """ - 圣遗物评分 - """ STAR_KEYBOARD = [[ InlineKeyboardButton( f"{i}", callback_data=f"artifact_ocr_rate_data|star|{i}") for i in range(1, 6)