去除私聊时向主url发送消息的功能
This commit is contained in:
@@ -346,8 +346,10 @@ async def handle_talk_command(command: str, chat_id: int, user_id: int) -> str:
|
||||
)
|
||||
|
||||
if success:
|
||||
return f"✅ 私聊消息已发送给「{target_username}」!"
|
||||
# 私聊消息发送成功,不向主URL发送提示消息
|
||||
return ""
|
||||
else:
|
||||
# 发送失败时仍然需要提示用户
|
||||
return f"❌ 发送私聊消息失败,请稍后重试。"
|
||||
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user