Skip to content

UndeadAlex/Canvas-Discord-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Canvas-Discord-Bot

A discord bot i created for my work based placement project. TL;DR Its a bot that grabs and lists info about assignments linked to a users account.

Important

This is not designed to work publically its very specifically made. (easily changeable, might do in the future.) but just note you may want to customise and configure the code before using it. (might also wanna fix some probably bad code practices)

Premade Commands

Config.json [Discord config file]

getindex : gets the given index of the assignments.
list: lists all avaiable assignments along with index's.

Config Types

Config.json [Discord config file]

Token: Discord bot OAuth token
Prefix: Bot prefix.

canvasConfig.json [CanvasAPI config file]

userID: id of linked account [Unused.]
courseID: id of the linked account course.
authToken: Canvas API authorization token.