python3 main.py
Quick note: The admin account is defined by a list located in main.py
, modify that with your DISCORD ID in order to be considered an admin
!create assignment <assignment name> <questions> <deadline>
Example: !create assignment homework1 "decodeList, capitalizeWords, printUpper, cantUseLoops,usesRecursionWhenTheyCant,isNotRecursive,destructiveFunction,destructiveFunctionFails,nonDestructiveFunction,nonDestructiveFunctionFails,oopTest" “26/11/21 22:59”
!create question <function name> <points> <test cases> <flags>
Example: !create question recursiveUpper 10 "{'hello':'HELLO'}" "return, noLoops, recursive"
!delete <question/assignment> <name>
!upload
!users
!submissions <user id> <assignment name>
!competition create <competition name> <assignment name> <time in hours>
!competition start <competition name>
!competition stop <competition name>
!competition delete <competition name>
!submit <assignment name>
!submissions <assignment name> [submission id] [file/result]
!competition submit <name>
!competition leaderboard <name>
There is a demo already loaded in (using the tests/sample.py file) which can be uploaded and submitted as 'homework1': !submit homework1
- return
- destructive
- nonDestructive
- oop
- stringIndexing
- recursion (function can't use recursion)
- recursive (funciton has to be recursive)
- tryExcept
- noLoops
- Add propper comments
- Add competitions
- Keep track of submissions per user
- Allow users to view their previous submissions/results