Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 2.36 KB

README.md

File metadata and controls

56 lines (34 loc) · 2.36 KB

Schedule Email Bot ✉️

code style: prettier

Pretty shabby email/discord bot written in JS. I built this to save the inconvenience of looking at google drive for schedules.

Special thanks to Aidan.

Background 🎏

The school I go to groups classes into flexible 'blocks' of time. These 'blocks' of time are prone to change everyday and they are published on a google sheets. Instead of actually visiting the sheets page everyday, why not just send it/email it to you?

Even if not meant to be reused, I'll admit that the code here is not 100% reusable since a lot of things were special cases when I was scraping the schedules.

Notable Resources/Dependencies 📚

Testing

TO-DO ✅

  • Add a different good morning message everyday
  • Parse extra data in the schedule so formatting looks nice
  • Add some screenshots
  • Credit dependencies
  • Add more comments
  • 'Forecast' of tomorrow's schedule

Screenshots 📷

discord

discord

discord

gmail

Formatting still leaves a lot to be desired

original

Example of what my bot parses

Code Style 🎨

  • I use the Prettier code formatter for js (default settings from the vs-code extension except for line width set to 100).

    prettier logo