ahmadfaizalbh / ahmadfaizalbh/Chatbot
conditional Chatbot response
未关闭
- 主要语言
- Python
- 星标
- 866
- 派生
- 357
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi ! I'm trying to work with your Chatbot and I was wondering if there is a posibility to only make the Bot answering under a certain condition. I tried it with following template but it didn't work:
{% block %}
{% client %}(?P.*){% endclient %}
{% if {% call Myfuncion:%query%} %}
{% response %}My answer.{% endresponse %}
{% endif %}
{% endblock %}
The funcion Myfuncion returns True / False depending on the client's query.
Thank you in advance for your help!
贡献指南
评估
这个 Issue 还没有评估数据。