codespearhead / baileys-quickstart

The quickstart with Baileys®' WhatsApp Web API you've always wanted

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FEAT]: send link with "ping" as a pre-filled message

codespearhead opened this issue · comments

The bot currently only sends "pong" back once the user sends "ping" to it.

The problem is that some might send something along the lines of "Ping" or "Ping ", which will trigger no response from the bot.

Ideally in that case the bot would send a link that once clicked, the user text box in the chat would be pre-filled with "ping", which is possible by using a link as described here.