DEV Community

Discussion on: Send automated Discord messages through Webhooks using JavaScript

Collapse
 
kengreg profile image
kengreg

hi, thanks for the help. Can you write also how to get messages from a channel? I am trying but everything and everyone just use discord.js which I cant use in my project

Collapse
 
oskarcodes profile image
Oskar Codes

Webhooks cannot read data from channels, because they're just HTTP endpoints you send requests to, there's no code logic involved in the Webhook on Discord's side.
So yeah, you'll have to use Discord.js to read from channels