The SernEmitter class
You're shipped with the SernEmitter. This EventEmitter listens to
- command modules executing and its status, the
module.activateevent - command modules registered and its status, the
module.registerevent - On default, sern creates a single SernEmitter for your bot process.
- any error that occurs, the
errorevent warnevents, where it is possible to throw errors
You can put these and other event listeners into event modules!
View all events