855 协议版本-调整完毕内容
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import logging
|
||||
from loguru import logger
|
||||
from typing import Dict, Any, List, Tuple, Optional
|
||||
|
||||
from message_util import MessageUtil
|
||||
@@ -40,7 +40,7 @@ class MessageRecallPlugin(MessagePluginInterface):
|
||||
|
||||
def initialize(self, context: Dict[str, Any]) -> bool:
|
||||
"""初始化插件"""
|
||||
self.LOG = logging.getLogger(f"Plugin.{self.name}")
|
||||
self.LOG = logger
|
||||
self.LOG.info(f"正在初始化 {self.name} 插件...")
|
||||
|
||||
self.event_system = context.get("event_system")
|
||||
|
||||
Reference in New Issue
Block a user