First Event
Introduction
In this guide, we’ll walk you through creating your first event module.
Similar to command modules, the type
property denotes what kind of event it is. You can view EventType
for more information.
To view what each of these properties mean in depth, visit the docs for EventType
.
External Events
In versions 2 & 3, any dependency that you have passed into makeDependencies
can be registered here as well.
In your event module, you can now listen to events from eventlistener
, which will be emitted from the EventEmitter
.