This is a bot created for gryph.slack.com to keep track of identity changes
441
This Slack app is based off of the template-terms-of-service sample app.
This Slack app will receive an event every time a user signs up for the workspace or changes their details.
Any workspace administrator is able to query the history using the slash command /whois [@user].
botchat:write:botcommandsusers:readusers:read:emailteam:readchannels:readnpm installdocker pull marshallasch/slack-name-botconfig.ini (see config.ini.tmp):
Note this will be created by docker run marshallasch/slack-name-bot as long as the variables are set
SLACK_ACCESS_TOKEN: Your app's xoxb- token (available on the Install App page, after you install the app to a workspace once.)
SLACK_SIGNING_SECRET: Your app's Signing Secret (available on the Basic Information page)
SLACK_CLIENT_SECRET: Your app's Client Secret (available on the Basic Information page)
SLACK_CLIENT_ID: Your app's ID (available on the Basic Information page)
DATABASE the data base name to use
DB_PORT the mongo db port to connect to (default is 27017)
DB_HOST the host of the mongo db server
DB_USER the mongo db user name
DB_PASS the plain text mogodb password
npm start)https://yourname.ngrok.com) + /eventsteam_join and user_change workspace eventshttps://yourname.ngrok.com) + /command/whois and the descriptionEscape channels, users, and links sent to your app checkboxThis application requires a connection to mongodb
To create the mongodb database and user account run
use slack_users
db.createUser(
{
user: "slackBot",
pwd: "slackpass",
roles: [ "readWrite" ]
}
)
From a mongo shell on the db server.
Content type
Image
Digest
Size
347 MB
Last updated
over 6 years ago
docker pull marshallasch/slack-name-bot