Guild Create and Guild Delete only
Hello, is there a way to get only the guild create/guild delete events? I don't need all the other events because I'm using interaction endpoints, and I would like to receive only those two events without the others since I'm using a VPS with a small connection for a bot that is on many servers.
5 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!Intents dictate which events & data you receive, so with that you'd only need to subscribe to the Guilds intent to receive those two events. Just don't subscribe to other intents and you won't receive events related to that intent
Though looking at it, there's not really a way to not receive those other events that are listed under the Guilds intent (which I assume was your actual inquiry)
Alright, thank you for your response. I will see what I can do