From 4dc00e1c7490321b6e024f10a4759c35f05d2278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9A=E7=BE=85=E7=8B=BC?= Date: Sun, 8 Dec 2024 19:40:37 +0800 Subject: [PATCH] update --- bots/qqbot/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/qqbot/message.py b/bots/qqbot/message.py index 74a9a8242d..e7f09e22ab 100644 --- a/bots/qqbot/message.py +++ b/bots/qqbot/message.py @@ -255,7 +255,7 @@ async def __aexit__(self, exc_type, exc_val, exc_tb): class FetchedSession(Bot.FetchedSession): async def send_direct_message(self, message_chain, disable_secret_check=False, enable_parse_message=True, enable_split_image=True): - from bots.qqbot.bot import client + from bots.qqbot.bot import client # noqa if self.target.target_from == target_guild_prefix: self.session.message = Message(api=client.api, event_id=None, data={ "channel_id": self.target.target_id.split('|')[-1]})