Skip to content

Commit

Permalink
Merge pull request #17 from UMLCloudComputing/arguments
Browse files Browse the repository at this point in the history
feat!: Add support for querying specific course.
  • Loading branch information
ultralapse authored Jun 7, 2024
2 parents a9d12d3 + 8343242 commit 685174e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ def interact(raw_request):
elif command_name == "weather":
message_content = weather()
elif command_name == "course":
message_content = getCourse("COMP.1020")
course_id = data["options"][0]["value"]
message_content = getCourse(course_id)
elif command_name == "pizza":
message_content = "PIZZA!"

Expand Down

0 comments on commit 685174e

Please sign in to comment.