Inspiration

As students, sometimes opening the SFU website to check courses is a bit tedious. Sometimes we need to log in, use the authentication, and finally check the available courses in Gosfu by clicking the slow input button.

With Seb the Snake bot, now getting this information is as easy as ever through Discord. This comes with the added benefit of doing it in a chat application which lets you share easily with others.

What it does

Our main feature is the /course command, which lets user get information of a specific section/ course/ all available courses offered in the specified term.

Seb is also able to register you with the /register command and find classmates who take the same classes with /findusers command.

A more extensive guide is provided in our GitHub

How we built it

JavaScript with Discord.js using SFU Course Outlines REST API

To make sure the bot always runs and not using any computer to run it, we run it on AWS EC2 t2-micro instance.

Challenges we ran into

  • Handling chained async/ await request
  • Handing duplicated roles

Accomplishments that we're proud of

Even though the project is relatively simple, we feel that this bot is very useful and has a lot of promise for further development in the future.

What we learned

  • How to build a discord bot

What's next for Seb the Snake - Discord Bot

  • Take a valid course role with /register from the available courses on that term
  • Find friends who take the same courses
  • Show the history of taken courses
  • Increase performance and scalability
  • More fun commands!

Built With

Share this project:

Updates