BoG/scripts/debug.js

9 lines
195 B
JavaScript

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