Skip to content

Base UWFlow command setup #512

Open
Open
@probro27

Description

@probro27

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 :)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions