Skip to content

HeatherAntwine/sage-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sage - Slack Bot

Build Status

Development

Make sure you have Elixir installed.

  • mix deps.get to install dependencies
  • mix run --no-halt to run the bot locally
  • mix test to run the tests

Please make sure you have your editorconfig plugin installed in the editor you are using (if a plugin is available).

Adding Responders

Make a new responder module in lib/sage/responders and add it to the list of :responders in config/config.exs

config :sage, Sage.Robot,
  adapter: Hedwig.Adapters.Slack,
  name: "sage",
  aka: "Sage",
  responders: [
    # ...
    {Sage.Responders.MyResponder, []},
  ]

Don't forget to make a new test for your responder in test/responders, like Sage.Responders.MyResponderTest

About

Elixir Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 100.0%