Slack app to randomly assign something to a teammate
After you create your app here you must configure it.
- Under "Interactive Components", assuming your web worker is reachable at
http://bot.host.com/
, set the Request URL tohttp://bot.host.com/button
. - Under "Slash Commands" create a command with the Request URL set to
http://bot.host.com/command
. Make sure to select the "Escape channels" option. - Under "OAuth & Permissions" add the following required permission scopes, then press "Install App to Workspace"
- Add commands to Transifex (
commands
) - Access information about user’s public channels (
channels:read
) - Send messages as "bystander" (
chat:write:bot
) - Access basic information about the workspace’s User Groups (
usergroups:read
) - Access your workspace’s profile information (
users:read
)
- Add commands to Transifex (
You then should copy your verification token from "Basic information" and your oauth
token from "OAuth & Permissions" to web/bystander/conf_private.py
like this:
INCOMING_TOKEN = "..."
OUTGOING_TOKEN = "xoxp-X.."