From 9bc8ac10fa058aadb2888495cfa0915fc72da710 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sat, 2 Dec 2023 16:19:41 +0800 Subject: [PATCH] chore: remove some unuseful log --- model/command/command.py | 2 -- model/platform/qqgroup.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/model/command/command.py b/model/command/command.py index 3a3689d5..15ef8438 100644 --- a/model/command/command.py +++ b/model/command/command.py @@ -71,10 +71,8 @@ class Command: if self.command_start_with(message, "nick"): return True, self.set_nick(message, platform, role) - if self.command_start_with(message, "plugin"): return True, self.plugin_oper(message, role, cached_plugins, platform) - if self.command_start_with(message, "myid") or self.command_start_with(message, "!myid"): return True, self.get_my_id(message_obj) if self.command_start_with(message, "nconf") or self.command_start_with(message, "newconf"): diff --git a/model/platform/qqgroup.py b/model/platform/qqgroup.py index 842c1f6f..75368999 100644 --- a/model/platform/qqgroup.py +++ b/model/platform/qqgroup.py @@ -99,7 +99,7 @@ class UnofficialQQBotSDK: def __get_wss_endpoint(self): res = requests.get(self.OPENAPI_BASE_URL + "/gateway", headers=self.__auth_header()) self.wss_endpoint = res.json()['url'] - print("wss_endpoint: " + self.wss_endpoint) + # print("wss_endpoint: " + self.wss_endpoint) async def __behav_heartbeat(self, ws: WebSocketClientProtocol, t: int): while True: