DEV Community

Discussion on: Send automated Discord messages through Webhooks using JavaScript

Collapse
 
bigboielthico69 profile image
BIGBOIELTHICO⁶⁹

How would I make it to where I make a text submit box and get whatever hey typed in sent to the webhook?

Collapse
 
oskarcodes profile image
Oskar Codes • Edited

Make an HTML <input> element, select if from JavaScript, and pass the .value of that element to the payload you send to your Webhook.

Collapse
 
bigboielthico69 profile image
BIGBOIELTHICO⁶⁹

can you make an example of this please im really new to this