Using discord.js to work with interactions on a Cloudflare Worker

Hello, Is there a way to use discord.js to receive, parse, and respond to interactions being sent to a Cloudflare Worker (via the HTTP Interactions feature)? Would I just take the JSON of the interaction and put it in new Interaction(data) or something? Or can I not use it and can only use @discordjs/rest? Thank you in advance!
3 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Lengo
LengoOP3y ago
Got it, thanks.
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?