langioletto
langioletto
I clean and perfected the .py The scripts allow this Connecting to WhatsApp WhatsApp listening Receive a message (case sensitive disable - THANKS @sowerkoku)) Check that the number of the...
Very thanks, perfect!! You're very kind.. Another question, how can I do to disable the case sensitive in the body of an incoming message? Example: lower
Italiano Molte grazie, perfetto!! Tu sei molto gentile Un'altra domanda, come posso fare per disattivare il case sensitive nel body di un messaggio che mando io e che riceve yowsup?...
Yes line of the layer.py namemitt = messageProtocolEntity.getNotify() message = messageProtocolEntity.getBody() recipient = messageProtocolEntity.getFrom() textmsg = TextMessageProtocolEntity ``` if message == 'Hola': answer = "Hola"+namemitt+" " self.toLower(textmsg(answer, to = recipient...
Perfect!!! This work very well Send HOLA hola Hola, always it works message = messageProtocolEntity.getBody().lower() ``` if message == 'hola': answer = "Hola"+namemitt+" " self.toLower(textmsg(answer, to = recipient )) ```...
I clean and perfected the .py The scripts allow this Connecting to WhatsApp WhatsApp listening Receive a message (case sensitive disable - THANKS @sowerkoku)) Check that the number of the...
Since you're very good :+1: :100: if when I send the answer you wanted to send a sound file instead of a text example ``` if message == 'hola': answer...
Thanks, do not worry!! I added the string ¿Cómo se define el nombre? :) pasar un buen descanso :+1: `File "/usr/local/lib/python2.7/dist-packages/yowsup2-2.5.0-py2.7.egg/yowsup/layers/interface/interface.py", line 80, in receive self.entity_callbacks[entityType](entity) File "/root/.yowsup/layer.py", line 43,...
Ok, @sowerkoku I am reading "layer.py" in /usr/local/lib/python2.7/dist-packages/yowsup2-2.5.0-py2.7.egg/yowsup/demos/cli/ And I begin to understand, thank you. You think I should I send other things in a message? #Set received (double v)...
Ok, perfect!! :+1: