Skip to content

happyteamio/elkarmo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elkarmo

Slack karma bot written in Elixir. Allows to add (or remove) karma points to other teammates.

screenshot

  • Use @mention followed by ++ or -- (up to 5 +/-) to add/remove karma points to selected user.
  • Talk to the bot directly or use simple mention to display the current stats.
  • Say version to the bot to get the version number.
  • Use @your_bot_name: reset to reset karma stats.

Karma points are stored using DETS in karma_db file.

This project uses the Elixir-Slack library to communicate with Slack.

There is a blog-post which describes how this bot was built.

Installation

  • Create a new bot user for your Slack team.
  • Get the token for your newly created bot and paste it in the configuration config/config.exs:
config :elkarmo, slack_token: "YOUR_SLACK_TOKEN_HERE"
  • You can run the app via mix run --no-halt, iex -S mix or create a redistributable package using exrm (mix release).