uwcsc/codeybot

Base UWFlow command setup

Opened this issue · 0 comments

Setup the basic command called uwflow which will pull data from the UWFlow GraphQL endpoint

The subcommands include:

  • info: returns Embed containing course description and Easiness/Liked ratings, and terms it is offered in. Usage: .uwflow info <course code>
  • prereq: returns Embed containing a short description of all the prerequisites. Usage: .uwflow prereq <course code>
  • comments: returns an Embed with a summary of some of the most helpful and recent comments using a NLP API and display the most positive/critical comment with actual text. Usage: .uwflow comments <course code>
  • search: returns a list of courses based on the search parameters. Usage: .uwflow search <min code> <max code> <optional list of subjects>

Further build a slash command by default. For any kind of reference check out #258 #444 #283 PRs!
For the NLP API you can feel free to use any open source API that would work without any issues in the long run. If the results are not too great and a paid api is needed, reach out to us @probro27 @Fan-Yang-284 and we will help set that up :)