What are events used for?

What are events used for?
8 Replies
d.js toolkit
d.js toolkit11mo 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
BradleyOP11mo ago
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
NyR
NyR11mo 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 docs11mo ago
:discord: Threads - Gateway Events read more
NyR
NyR11mo ago
You can read about it all here
chewie
chewie11mo ago
well, not there, thats about threads
NyR
NyR11mo ago
Oops yeah

Did you find this page helpful?