jakebathman / slack-helpers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tighten Slack Helpers

Note: this is an internal project. Don't try to set it up on your own. If you're interested in using it on your workspace, reach out to me on Twitter @jakebathman and I'd be happy to help you out.

IsInBot

This bot provides three services:

  • slash command /IsIn @person to return the status of that person in Slack
  • slash command /staff to return all Tighten staff with their current status
  • an API endpoint at /api/staff-in to return a JSON encoded list of all staff currently @in

Authentication

The bot uses Slack's app integrations when installed to a workspace, and manages its own tokens in the tokens table.

The API endpoints use an implicit token

Slash commands

The slash commands are tied to the bot IsInBot, which can be installed to the workspace:

Add to Slack

About


Languages

Language:PHP 97.7%Language:Blade 2.3%