重大版本调整:gewechat兼容。
This commit is contained in:
@@ -3,7 +3,6 @@ import logging
|
||||
import pytz
|
||||
from typing import Dict, Any, List, Optional, Tuple
|
||||
|
||||
from wcferry import Wcf
|
||||
|
||||
from db.connection import DBConnectionManager
|
||||
from message_util import MessageUtil
|
||||
@@ -64,7 +63,6 @@ class MessageSignPlugin(MessagePluginInterface):
|
||||
self.LOG.info(f"正在初始化 {self.name} 插件...")
|
||||
|
||||
# 保存上下文对象
|
||||
self.wcf = context.get("wcf")
|
||||
self.event_system = context.get("event_system")
|
||||
self.message_util: MessageUtil = context.get("message_util")
|
||||
self.gbm = context.get("gbm")
|
||||
@@ -217,7 +215,6 @@ class MessageSignPlugin(MessagePluginInterface):
|
||||
"""处理签到请求"""
|
||||
sender = message.get("sender")
|
||||
roomid = message.get("roomid", "")
|
||||
wcf: Wcf = message.get("wcf")
|
||||
all_contacts = message.get("all_contacts", {})
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user