Added whoami command for debugging.

This commit is contained in:
chris062689 2017-09-29 20:21:17 -04:00
parent ccc01978ea
commit 7506f0f287
1 changed files with 6 additions and 0 deletions

6
commands/whoami.js Normal file
View File

@ -0,0 +1,6 @@
var app = require('../app.js');
exports.roles = ['Admins', 'Moderators'];
exports.command = function (message, reply) {
app.logChannel.sendMessage(`I am running under ${process.env.USER}.`);
};