Abruptly ending the chat
# 🤝help
i
I want to implement one more feature in my bot that it will end the chat in between when the user inputs /end. Like bot commands.
f
Hey there, I haven't found a good way of doing this. One of the ways you can do it, is by using the expression card, like you did here https://discord.com/channels/1108396290624213082/1216320433117204490 but you would place it after every card, that allows for a user input, and then transition them to the end node. You can also add it to your transitioning cards like the AI Transition card, if you are already using it.
I have a Raw Input card asking the user "Is there anything else that I can help you with?" and then I have a the AI Transition card after, like this
If the user says no, then it goes to a node with a Text card that says "It have been a pleasure helping you." which then goes to the end node.
i
Thank you, I will go for it
It's getting messier and harder to understand
f
Could you elaborate a bit more on this?
i
It was messy plus it was lengthy also. I deleted that bot and started again. I will post questions again, till then i will explore and try to solve this problem.
f
Sorry to hear that. Feel free to create a separate help with new issues
i
sure
2 Views