Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
DoroWolf committed Dec 8, 2024
1 parent 1d50dab commit 4dc00e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bots/qqbot/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]})
Expand Down

0 comments on commit 4dc00e1

Please sign in to comment.