DEV Community

loading...

Discussion on: Send automated Discord messages through Webhooks using JavaScript

Collapse
misterymissile profile image
misterymissile

How do I make it send a variable in the content: parameter?

Collapse
oskarcodes profile image
Oskar Codes Author

Well you can just put your variable in there instead of the string

content: yourVariableName