去除初始化问题!
This commit is contained in:
@@ -39,10 +39,6 @@ class GroupAddPlugin(MessagePluginInterface):
|
|||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.wcf = None
|
|
||||||
self.gbm = None
|
|
||||||
self.LOG = None
|
|
||||||
self.enable = True
|
|
||||||
|
|
||||||
def initialize(self, context: Dict[str, Any]) -> bool:
|
def initialize(self, context: Dict[str, Any]) -> bool:
|
||||||
"""初始化插件"""
|
"""初始化插件"""
|
||||||
|
|||||||
@@ -42,11 +42,6 @@ class GroupAutoInvitePlugin(MessagePluginInterface):
|
|||||||
super().__init__()
|
super().__init__()
|
||||||
# Redis 中存储群组映射的前缀
|
# Redis 中存储群组映射的前缀
|
||||||
self.mapping_prefix = "group:group_mapping:"
|
self.mapping_prefix = "group:group_mapping:"
|
||||||
self.redis_pool = None
|
|
||||||
self.LOG = None
|
|
||||||
self.wcf = None
|
|
||||||
self.gbm = None
|
|
||||||
self.enable = True
|
|
||||||
self._commands = []
|
self._commands = []
|
||||||
|
|
||||||
def initialize(self, context: Dict[str, Any]) -> bool:
|
def initialize(self, context: Dict[str, Any]) -> bool:
|
||||||
|
|||||||
Reference in New Issue
Block a user