DEV Community


Discussion on: Send automated Discord messages through Webhooks using JavaScript

reelock profile image
Alessandro • Edited

Hello, Really cool, thanks a bounch!
it his possible to do something like this inside discord app?
I'm using Telegram and it has the cool option to let you write commands in a text message. Then the user click it and Telegram simply repeat the link content and send it to your bot.
Something like this

'Click /done when you have done.'

when you click (or tap) on /done, telegram send a message like this


and your bot grab it as a regular command, like if you wrote /done yourself in the text line.

i would like to replicate the behavior on discord to or, if not possible since it seems not, at least do something like that

oskarcodes profile image
Oskar Codes Author

You mean having some programmed logic when pressing links on the message sent by the Webhook?