What are events used for?

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

Did you find this page helpful?