Methods
.addSourceDir() → void
Registers a source directory to load Event class event handlers from.
Does nothing if the directory is already registered. Events will be loaded
by the Client after the continue
event is emitted at runtime
- Source:
.hasSources() → boolean
Returns whether or not the EventLoader has any registered source directories
- Source:
.loadFromSources() → number
Loads or reloads all Events from all registered sources. Allows for hot-reloading
- Source:
The total number of loaded or reloaded events