Make sure you have Elixir installed.
mix deps.get
to install dependenciesmix run --no-halt
to run the bot locallymix 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).
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.
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