From 7506f0f28700b52a7bed3e5af2d2ab1644caf813 Mon Sep 17 00:00:00 2001 From: chris062689 Date: Fri, 29 Sep 2017 20:21:17 -0400 Subject: [PATCH] Added whoami command for debugging. --- commands/whoami.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 commands/whoami.js diff --git a/commands/whoami.js b/commands/whoami.js new file mode 100644 index 0000000..f7317d4 --- /dev/null +++ b/commands/whoami.js @@ -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}.`); +};