Fixing telegram client bug

This commit is contained in:
Dita Aji Pratama 2026-07-11 12:52:26 +07:00
parent 3ddb03059d
commit 379307278d

View File

@ -246,7 +246,7 @@ class TelegramClient:
if final_content is not None:
if is_roleplay:
my_name = PERSONALITY.name
my_name = personality.PERSONALITY.name
if config.TELEGRAM_SELECTIVE_RESPONSE:
recent_msgs = []
for msg in session.messages[-6:]: