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

Consider adding a slash command, in addition to or instead of a user #23

Open
sohail-surge opened this issue Dec 2, 2016 · 3 comments

Comments

@sohail-surge
Copy link
Contributor

Slash commands are omnipresent, as opposed to a bot integration.

@sohail-surge sohail-surge changed the title Consider adding a slash command, in addition to the bot Consider adding a slash command, in addition to or instead of a user Dec 2, 2016
@jchesshir
Copy link

Don't see how this will help us with #15. I'd rather just upgrade our bot to use a real user's token so that it can initiate a direct message to the user if it senses that the emergency request has come through a channel.

Please elaborate on how this could help us if I'm missing something.

@sohail-surge
Copy link
Contributor Author

Slash commands have two benefits:

  1. They can be used in any channel or DM which is potentially helpful when it comes to an emergency situation.

  2. You can automatically make slash command output private or public without worrying about direct messaging. It's worth a look

So to put these two together, whether you are in a channel you could have this interaction:

/911bot emergency @Someone
Is this a real emergency? If so, type /911bot yes <-- visible only to user
/911bot yes
.... emergency info ... <-- visible only to user

So you could do that in a channel, DM or otherwise and you'd have the right information in a private way.

@jchesshir
Copy link

jchesshir commented Dec 30, 2017

Makes sense. I like it!
I would add that this should replace the @ 911-bot entirely, to prevent public disclosure of private information, which inhibits a user's ability to know everyone who has viewed their information.

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

No branches or pull requests

2 participants