New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reply to help in private #14

merged 4 commits into from May 5, 2016


None yet
2 participants

erikzaadi commented Apr 25, 2016

One of the annoyities in chatops is scrolling over 4123123123 lines of @hubot help results.

This little PR replies to whomever needed help in private, not cluttering a room / channel.

To Opt in to the feature, add the HUBOT_HELP_REPLY_IN_PRIVATE environment variable

@@ -66,7 +66,11 @@ module.exports = (robot) ->
emit = cmds.join "\n"
msg.send emit
if msg.message?.user?.name?
msg.reply 'replied to you in private!'

This comment has been minimized.


therealklanni Apr 29, 2016


Maybe this should be an opt-in config?

This comment has been minimized.


erikzaadi Apr 30, 2016


@therealklanni hmm, nay bad, adding.

@therealklanni therealklanni merged commit 63e46cd into hubotio:master May 5, 2016


This comment has been minimized.


therealklanni commented May 5, 2016

Published v0.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment