mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-08-04 00:41:56 +02:00
Add send node msg event
This commit is contained in:
parent
eec06e7004
commit
36d55a409e
5 changed files with 9 additions and 4 deletions
|
@ -12,6 +12,7 @@ const { getThemeArt } = require('./theme.js');
|
|||
const { pipeToAnsi } = require('./color_codes.js');
|
||||
const stringFormat = require('./string_format.js');
|
||||
const { renderStringLength } = require('./string_util.js');
|
||||
const Events = require('./events.js');
|
||||
|
||||
// deps
|
||||
const series = require('async/series');
|
||||
|
@ -37,7 +38,7 @@ const MciViewIds = {
|
|||
|
||||
customRangeStart : 10,
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
exports.getModule = class NodeMessageModule extends MenuModule {
|
||||
constructor(options) {
|
||||
|
@ -64,6 +65,8 @@ exports.getModule = class NodeMessageModule extends MenuModule {
|
|||
}
|
||||
}
|
||||
|
||||
Events.emit(Events.getSystemEvents().UserSendNodeMsg, { user : this.client.user } );
|
||||
|
||||
return this.prevMenu(cb);
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue