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!
Was this page helpful?