mrjvs
DIAdiscord.js - Imagine an app
•Created by mrjvs on 10/8/2024 in #djs-questions
how to handle interactions through interaction URL, no gateway
Hey, I haven't made bots in quite a while, so im kinda lost on how to do this in discordJS.
question:
- How do I use discord.js without connecting to gateway, purely through interaction URL
why I want it:
- I want a stateless discord bot, so its easy to scale with the rest of my app
- I just need basic responding to slash commands
I could simply make a route and handle it all myself using the rest client, but I would prefer the nice utilities that discord.js provides like
interaction.reply()
10 replies