danielcardeenas / whatsapp-framework

⚗️Whatsapp python api
1.16k stars 362 forks source link

hihelp not working #205

Open gabrieru opened 5 years ago

gabrieru commented 5 years ago

Hello, i followed all the guide and got my whatsapp bot working fine, but when i send the text "hi" or "help" its not replying me, i dont know why, but other messages configured by me is working fine.

Also i want some help for that, i want to send a single sequence of text: user: !mine_report: 6/5/0/0/0 ##the numbers may be changed by the sender chatbot: thanks, sending to reports

http request: http://myurl/report.php?phonenumber=CCXXXXX&p1=6&p2=5&p3=0&p4=0&p5=0

can you teach me how to do it? i am still learning python

x-frst commented 5 years ago

you should send !hi not simply hi because it is declared as if message.command not if message.text

rgchurion commented 5 years ago

Hola @AmitGamingKing , se puede modificar en algún sitio para que no sea necesario anteponer "!" ?

Hi @AmitGamingKing , could be modified somewhere so it is not necessary to put "!" ?

x-frst commented 5 years ago

Hello @rgchurion instead of message.command you need to simply put message.text so you don't need to put !