Events
You can listen for all the events of discord.js API using this package.
The Basic Syntax :
Example : Let us test out the 'messageCreate' event. It gets emitted when a new message is created in a DM or a guild.
This function will run whenever a new message is created.
Last updated