Add timestamp

This commit is contained in:
Bryan Ashby 2018-11-14 19:52:55 -07:00
parent cfc4335b44
commit 23af00e7ec
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ const stringFormat = require('./string_format.js');
const series = require('async/series'); const series = require('async/series');
const _ = require('lodash'); const _ = require('lodash');
const async = require('async'); const async = require('async');
const moment = require('moment');
exports.moduleInfo = { exports.moduleInfo = {
name : 'Node Message', name : 'Node Message',
@ -104,6 +105,7 @@ exports.getModule = class NodeMessageModule extends MenuModule {
fromRealName : this.client.user.properties.real_name, fromRealName : this.client.user.properties.real_name,
fromNodeId : this.client.node, fromNodeId : this.client.node,
message : message, message : message,
timestamp : moment(),
}; };
const messageFormat = const messageFormat =