What are events used for?

What are events used for?
8 Replies
d.js toolkit
d.js toolkit8mo ago
- 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!
Bradley
BradleyOP8mo ago
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
NyR
NyR8mo ago
Events are used to receive Gateway Events from the discord, like if someone uses a Slash Commands, it fires interactionCreate event, where you handle that commands interaction
d.js docs
d.js docs8mo ago
:discord: Threads - Gateway Events read more
NyR
NyR8mo ago
You can read about it all here
chewie
chewie8mo ago
well, not there, thats about threads
NyR
NyR8mo ago
Oops yeah
Want results from more Discord servers?
Add your server