Fixing telegram client bug
This commit is contained in:
parent
3ddb03059d
commit
379307278d
@ -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:]:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user