Events
Events / Actions called to when your bot observes something.
Events are a type of listener that listen for interactions / actions by your bot. These are used for listening when the bot turns online, a user sends a message, or a button is pressed.
These can be used for various reasons, such as logging to the console whenever your bot starts.
In the following tutorial, we will teach you how to create a "Ready Event Listener". This we can use to log to the console whenever the bot is online and ready to run code.
ReadymessageDeleteLast updated