From ce36cab9470ed5ac0ac389d0eeca3aaa088c8e6c Mon Sep 17 00:00:00 2001 From: jcardenas Date: Fri, 16 Feb 2024 14:21:18 -0500 Subject: [PATCH] fix(Input): :bug: Fixed bug with interactive options change the content parameter to text in the input_text method --- menuflow/nodes/interactive_input.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menuflow/nodes/interactive_input.py b/menuflow/nodes/interactive_input.py index 1b06723..d3c4fed 100644 --- a/menuflow/nodes/interactive_input.py +++ b/menuflow/nodes/interactive_input.py @@ -55,7 +55,7 @@ async def run(self, evt: Optional[MessageEvent]): self.log.warning("A problem occurred to trying save the variable") return - o_connection = await self.input_text(content=evt.content) + o_connection = await self.input_text(text=evt.content.body) if self.inactivity_options: await Util.cancel_task(task_name=self.room.room_id)