Skip to content
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

Make hubot's message only visible to the user who asked it #221

Closed
hoodwink73 opened this issue Aug 26, 2015 · 3 comments
Closed

Make hubot's message only visible to the user who asked it #221

hoodwink73 opened this issue Aug 26, 2015 · 3 comments
Labels
duplicate An issue for the same purpose already exists, and a link is in the comments

Comments

@hoodwink73
Copy link

There are some slack commands(/asana) which uses slackbot to answer back. This has the added benefit of the answer not visible by anyone but the user who asked the question.

Can Hubot do sort of a similar thing?

@jeffbyrnes
Copy link

Ooh! This would be super cool.

@technicalpickles
Copy link
Contributor

cc #223 for implementing Slash commands for hubot. Those are returned only to the user currently.

I don't know of any way for the API to return messages private to the user that aren't DMs, like /asana or Slash commands. So, Slack would need to implement something like that first.

That said, one confusing thing is you'd have to say a command in a room. Everyone in the room would see it, and only hubot would respond privately.

Actually, the more I think about it, #223 is a duplicate of this. I think what's being asked here is slash commands.

@DEGoodmanWilson DEGoodmanWilson added the duplicate An issue for the same purpose already exists, and a link is in the comments label Jun 27, 2016
@DEGoodmanWilson
Copy link

Slash command responses can be marked as ephemeral (viewable to only the user who invoked the command) or public (viewable to everyone). But, you can't send responses as Slackbot. (Asana was a special snowflake Slack wrote themselves.)

Marking as a duplicate of #223 and closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate An issue for the same purpose already exists, and a link is in the comments
Projects
None yet
Development

No branches or pull requests

4 participants