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
Enter fullscreen mode Exit fullscreen mode