Skip to content

A Discord Bot that uses Canvas API for reminding students of upcoming assignments an hour prior the deadline.

Notifications You must be signed in to change notification settings

JosChavz/CanvasBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CanvasBot

A Discord Bot that reminds users an hour before for upcoming assignments.
still in the works...

Only functions for one server, as of now.

Getting Started

  1. git clone https://github.com/JosChavz/CanvasBot.git
  2. Rename example_keys.ini to keys.ini in src/main/resources
  3. Input your discord's bot Token next to discord_keys in keys.ini
    1. How to get Discord Token
  4. Input your Canvas API token next to canvas_keys in keys.ini
    1. How to get API Keys
  5. Add your school URL looking alike url, replacing [school] in keys.ini, plus add the Course ID replacing [course ID]
    1. ex: url=https://miracosta.instructure.com/api/v1/courses/12345/assignments

Want to host it using Repl.it?

  1. Create a new private repl
  2. Under shell, write
    1. git init
    2. git add remote origin https://github.com/JosChavz/CanvasBot.git
    3. git fetch --all
    4. git pull origin master
  3. In the Main class that repl sets up by default, write
    1. DiscordMain.main(args); which will run the actual main.
  4. Start from #2 from Getting Started 🔼
  5. Make sure that the Always on, is on!
    Always on in Repl.it
  6. Run it.

Resources

Zone ID Java Docs

Prior Logs

https://github.com/discord-canvas-api/CanvasAPI

About

A Discord Bot that uses Canvas API for reminding students of upcoming assignments an hour prior the deadline.

Resources

Stars

Watchers

Forks

Languages