Fixing Telegram DM
This commit is contained in:
parent
ad52441ff7
commit
31d99f9321
@ -285,7 +285,8 @@ class TelegramClient:
|
||||
recent_history = "\n".join(recent_msgs)
|
||||
|
||||
from tools.roleplayer import should_respond
|
||||
if should_respond(
|
||||
# In private chat, always respond regardless of selective response logic.
|
||||
if chat_type == 'private' or should_respond(
|
||||
message=body,
|
||||
sender_nickname=sender_name or str(chat_id),
|
||||
recent_history=recent_history,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user