Events
Last updated
Was this helpful?
Last updated
Was this helpful?
Events in the directory eventsDir
(set with CommandHandler.create
) are automatically loaded, you can see an example of how to create an Event here :
The property name
should be equal to the discord.js event you want to use, like message
. The eventsArguments
is a list of arguments that will be different with what events you use, see .
And you can see a "complete" example of what a command could look like :