Discord Bot Base
Events
How to create discord event listeners
To create a listener for a discord event, use the Event
class
First import the base
Use the name
property to create a custom identifier for your event, then define which discord event you expect using the event
property.
All discord events are typed by the event
property, when you choose an event, the run method will be automatically typed with all the arguments that this event receives.