加入虚拟环境
This commit is contained in:
@@ -40,7 +40,7 @@ class SystemUpdaterPlugin(MessagePluginInterface):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.admin_wxids = []
|
||||
self.wait_time = 15 # 默认等待15秒
|
||||
self.wait_time = 5 # 默认等待15秒
|
||||
self.bot: WechatAPIClient = None
|
||||
|
||||
def initialize(self, context: Dict[str, Any]) -> bool:
|
||||
@@ -55,7 +55,7 @@ class SystemUpdaterPlugin(MessagePluginInterface):
|
||||
# 从配置中获取命令和其他设置
|
||||
plugin_config = self._config.get("SystemUpdater", {})
|
||||
self._commands = plugin_config.get("commands", ["更新系统", "系统更新"])
|
||||
self.wait_time = plugin_config.get("wait_time", 15)
|
||||
self.wait_time = plugin_config.get("wait_time", 5)
|
||||
self.admin_wxids = plugin_config.get("admin_wxids", [])
|
||||
self.enable = plugin_config.get("enable", True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user