2020-08-07 17:49:09 +02:00
|
|
|
const util = require('util');
|
|
|
|
|
|
|
|
module.exports = (robot) => {
|
2020-09-04 01:46:26 +02:00
|
|
|
robot.hear(/^debug user$/i, function (msg) {
|
2020-08-07 17:49:09 +02:00
|
|
|
username = msg.envelope
|
|
|
|
msg.reply("```" + util.inspect(username) + "```")
|
|
|
|
});
|
|
|
|
}
|