Messer icon indicating copy to clipboard operation
Messer copied to clipboard

Autoresponder

Open jonentropy opened this issue 7 years ago • 3 comments

I would love for this to be capable of automatically responding to incoming messages.

jonentropy avatar Apr 21 '17 15:04 jonentropy

I like it 👍 Could specify it per-person aswell

tomquirk avatar Apr 21 '17 22:04 tomquirk

For now I have done this by hard-coding the message I want, and adding a call to reply in the receive method.

jonentropy avatar May 15 '17 15:05 jonentropy

I just wrote a quick and dirty reply script, it has to be combined to messer with socat (there is still a bug, it send the response 2 times...i will have a look later): socat EXEC:/usr/local/bin/messer EXEC:./reply.sh

Here the reply.sh script: #!/bin/bash while read lg do echo received: "$lg" >> reply.log if [[ "$lg" != "ERROR" ]] then echo r "YOUR REPLY TEST HERE" fi sleep 1s done

bossjl avatar Apr 11 '18 11:04 bossjl