BoG/scripts/debug.js

9 lines
194 B
JavaScript

const util = require('util');
module.exports = (robot) => {
robot.hear(/debug user/i, function (msg) {
username = msg.envelope
msg.reply("```" + util.inspect(username) + "```")
});
}