Mojipoints is an open-source Slackbot for giving your teammates karma points. Its ancestors are text based karma bots like Hubot Plus Plus (https://github.com/ajacksified/hubot-plusplus) and IRC karma bots.
Mojipoints was designed to be a karma bot with a Slack-native UX. In addition to the traditional ++
method of giving karma, mojipoints uses Slack emojis for giving recognitions (or taking them away!).
TBD
TBD
- Sign in to your Slack team and go to
https://api.slack.com/apps
- Click the green
Create an App
button - Set "Display Information"
- Set the "App name" (usually
mojipoints
but this is already taken) - Set the "Short description" to
Give your coworkers points using emojis!
- Upload the app icon from
icon.png
in the git repo - Set "Background Color" to
#177300
or thereabouts
- Set the "App name" (usually
- Click
Save Changes
(bottom right) - OAuth & Permissions -> Set
Redirect URLs
tohttps://<Heroku app URL>/auth/finish
(clickSave URLs
) - Under
Basic Information
->App Credentials
you will find a "Client ID" and "Client Secret". SetSLACK_CLIENT_ID
andSLACK_API_SECRET
env variables in the Heroku app config using the generated values from Slack - Set the given
verification token
asSLACK_VERIFICATION_TOKEN
env variable in the Heroku app config - Make sure the application is up and running on Heroku
- Setup a bot user. Select "Bot Users"
- Click
Add a Bot User
. - Set "Display name" to
mojipoints
- Set "Default username" to
mojipoints
- Enable
Always Show My Bot as Online
- Click
Add Bot User
- Click
- Event Subscriptions
- Enable "Enable Events" toggle
- Set the
Request URL
field to the event endpoint URLhttps://<Heroku app URL>/events
. The server must be up and running so that Slack can verify the URL. (It should displayVerified
successfully if everything is set up right on the server.) - Add the following Bot Events:
message.channels
message.groups
message.im
message.mpim
reaction_added
reaction_removed
- Don't forget to click
Save Changes
!
- Install the new app
- Go back to "Basic Information" and select "Install your app to your workspace" and click "Install App to Workspace"
- On the next screen, click "Authorize"
- Browse to
https://<Heroku app URL>/auth/begin
and click to button to install the app
App Icon made by Dave Gandy from www.flaticon.com is licensed by CC 3.0 BY