DEV Community

loading...

Discussion on: Send automated Discord messages through Webhooks using JavaScript

Collapse
oskarcodes profile image
Oskar Codes Author

Set the content field to the value of your input:

content: document.querySelector("input").value // could be "textarea" as well
Enter fullscreen mode Exit fullscreen mode
Forem Open with the Forem app