Add simple Slack slash commands for changing user visibilty.
No need to implement temporary visibility for now, simple on/off is enough.
-
Add route POST /api/v2/slack/commands
for/doorbell...
Slack slash commands. -
User can change his/her visibility ON by typing /doorbell_show
anywhere in the current Slack workspace (like ovikello.slack.com or vincit.slack.com). -
User can change his/her visibility OFF by typing /doorbell_hide
anywhere in the current Slack workspace. -
User can see his/her visibility status by typing /doorbell_status
anywhere in the current Slack workspace.
Edited by Petteri Saurus