mirror of
https://github.com/sern-handler/website
synced 2026-06-06 01:16:47 +00:00
604 B
604 B
sidebar_position
| sidebar_position |
|---|
| 8 |
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