Skip to content
Slack bot that corrects corporate-speak.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
node_modules
.gitignore
Procfile
README.md
_config.yml
app.js
app.json
logo.png
package-lock.json
package.json
words.json

README.md

Linguo

Linguo is a Slack bot that corrects corporate-speak. Linguo uses the Google Cloud Natural Language API.

Install Linguo

1. Deploy this repository to Heroku

Deploy

2. Create a Slack app

Visit the Slack Apps page and create a new app. Give your app a name, Linguo, and specify the workplace you would like Linguo to patrol.

3. Subscribe to Slack events

Visit the Events Subscriptions page for your Slack app and verify your request URL. Yours will look something like https://random-name-1234.herokuapp.com/slack/events.

Once you have verified your request URL, subscribe to the messages.channels event. This will allow Linguo to listen to messages in your public slack channels.

4. Create a Google Cloud project

Sign up for Google Cloud account and then create a new project by visiting the Manage Resources page. You can name it whatever you'd like. The Google Cloud NLP API analyzes the syntax of words to determine if they have been used correctly.

5. Add API credentials to your Heroku app

Now that you have set up all of the necessary accounts, add your API credentials to your Heroku app.

GOOGLE_APPLICATION_CREDENTIALS

GOOGLE_PROJECT_ID

SLACK_TOKEN

SLACK_VERIFICATION_TOKEN

And that's it. From now on, Linguo will correct a Slack user when they use corporate-speak (e.g. "What is your ask?").

You can’t perform that action at this time.