Sern Emitter
You’re shipped with the SernEmitter
class. This EventEmitter
listens to
- Command modules executing and its status; the
module.activate
event - Command modules registered and its status; the
module.register
event - On default, sern creates a single SernEmitter for your bot process.
- Any error that occurs; the
error
event warn
events, where it is possible to throw errors
You can put these and other event listeners into event modules!
You can view all events in the SernEventsMapping
interface.