调整变量
This commit is contained in:
@@ -24,6 +24,7 @@ class MessageSignPlugin(MessagePluginInterface):
|
||||
# 功能权限常量
|
||||
FEATURE_KEY = "SIGN_IN"
|
||||
FEATURE_DESCRIPTION = "✅ 签到功能 [签到, 每日签到, qd, Qd, QD, 上班, 牛马]"
|
||||
|
||||
@property
|
||||
def name(self) -> str:
|
||||
return "签到系统"
|
||||
@@ -50,11 +51,11 @@ class MessageSignPlugin(MessagePluginInterface):
|
||||
|
||||
@property
|
||||
def feature_key(self) -> Optional[str]:
|
||||
return "SIGN_IN"
|
||||
return self.FEATURE_KEY
|
||||
|
||||
@property
|
||||
def feature_description(self) -> Optional[str]:
|
||||
return "📝 签到功能 [签到]"
|
||||
return self.FEATURE_DESCRIPTION
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
|
||||
Reference in New Issue
Block a user