mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-21 20:54:58 +05:00
14 lines
197 B
JavaScript
14 lines
197 B
JavaScript
class BaseEvent {
|
|
constructor(options) {
|
|
/**
|
|
* @type {String}
|
|
*/
|
|
this.name = options.name;
|
|
/**
|
|
* @type {Boolean}
|
|
*/
|
|
this.once = options.once;
|
|
}
|
|
}
|
|
|
|
module.exports = BaseEvent;
|