I'm just developing this in prod

This commit is contained in:
Daniel Dayley 2024-09-10 14:56:12 -06:00
parent 6f4353c09a
commit d2a6556367
Signed by: Cronocide
GPG Key ID: 1CADA052F64664EC

View File

@ -45,9 +45,8 @@ class PersonaSkill(PersonaBaseSkill) :
response_options = SIMPLE_REPLIES[trigger]
break
response_text = random.choice(response_options)
response = SIMPLE_REPLIES[message.text]
return persona.Message(
text=response,
text=response_text,
sender_identifier=message.sender_identifier,
chat_identifier=message.chat_identifier,
attachments=[],