wall_e icon indicating copy to clipboard operation
wall_e copied to clipboard

New command to show SFU classes next semester

Open EarthenSky opened this issue 1 year ago • 2 comments
trafficstars

We'd like a new command which gives a summary of all the SFU classes being run next semester, including class names & a short description. This command should enable the user to filter based on the semester (default to next semester), department (default all), and year (default all). You can use whatever parameter syntax you'd like.

ex:

  • display only CMPT classes
  • display only 200 level classes
  • display only MATH 3xx classes in fall 2023

This should extend the approach used in def outline(...) in https://github.com/CSSS/wall_e/blob/master/wall_e/extensions/sfu.py You shouldn't need to modify anything outside this file, except for getting the bot setup locally for testing.

As always, if you have any questions about this issue please feel free to ask me! (or if you have any questions about setup, please reach out to Jace)

Bonus If you'd like, I'd appreciate if you can clean up the code style of module, as outline definitely needs to be more dry

EarthenSky avatar Oct 08 '24 23:10 EarthenSky