Skip to content

Nighteyez07/sage-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 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 Course Triggers

New courses are added to WGU all the time, so if you want to help keep this bot up-to-date, please contribute!

For very basic triggers, you can edit the course-list. Observe and follow the existing format to add new courses.

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

[Bubo] Slack Chatbot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 100.0%