Canvas Discord Bot

About the Canvas Discord Bot

Canvas LMS is a Discord bot that enables students currently attending BYU-Idaho to gain easy access to their grades, assignments, and other important aspects of their education. This bot was created during a hackathon called I-Hack in 2023. This bot was created using NodeJS and the Discord.js library, a MySQL/PostgreSQL database, and Python.

The Problem

As a student at BYU-Idaho, I have to use Canvas to view my grades and assignments. I also use Discord to communicate with my friends and classmates. I wanted to be able to view my grades and assignments in Discord, so I decided to create a Discord bot that would allow me to do that.

The Solution

In a group of two, my friend and I set off to complete this task in 24 hours. My friend worked on creating an API handler with Python, and I worked on creating the Discord bot with NodeJS. We ran into some issues that caused some headaches, such as problems connecting to our PostgreSQL database, receiving limited responses from the Canvas LMS API, and much more. We did this two part system so we could break up the workload and program in the languages we felt most comfortable with. This discord bot would receive information from the Python program via a MySQL database that was updated every couple of minutes. This enabled accurate data while not abusing the Canvas API.

Matthew H Bot Developer
Canvas LMS (BYUI Hackathon) Bot

More Options

These are valid arguments for this command.

Try It

Select one of the buttons below to get an idea of how this discord bot works!