mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-21 10:15:55 +02:00
Add timestamp
This commit is contained in:
parent
cfc4335b44
commit
23af00e7ec
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,7 @@ const stringFormat = require('./string_format.js');
|
|||
const series = require('async/series');
|
||||
const _ = require('lodash');
|
||||
const async = require('async');
|
||||
const moment = require('moment');
|
||||
|
||||
exports.moduleInfo = {
|
||||
name : 'Node Message',
|
||||
|
@ -104,6 +105,7 @@ exports.getModule = class NodeMessageModule extends MenuModule {
|
|||
fromRealName : this.client.user.properties.real_name,
|
||||
fromNodeId : this.client.node,
|
||||
message : message,
|
||||
timestamp : moment(),
|
||||
};
|
||||
|
||||
const messageFormat =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue