Adding Events
Events allow you to use callbacks or command types that revolve around a Discord event (e.g. a user joining the server).
Example
This example adds every event currently available to the bot. This is not recommended, as you shouldn't use events you don't need. Feel free to edit this code to your needs.
Events
onMessage
onReady
onInteraction
onJoin
onLeave
onBotJoin
onBotLeave
onReactionAdd
onReactionRemove
onLavalinkSongStart
onLavalinkSongFinish
Last updated