Skip to content

A Discord Bot Grader, more specifically, 'Waifu Discord Bot'

License

Notifications You must be signed in to change notification settings

leomotors/cocoa-grader

Repository files navigation

Cocoa Grader

A Discord Bot Grader, more specifically, 'Waifu Discord Bot'

Created to compete with Cafe Grader

🌲 Dependencies

To Start the Bot

  • nodejs (16.9+, discord.js requirement) with npm and yarn

To make sure no error occurred

  • gcc, python3, ghc

  • pshved/timeout installed to bin, see here

  • Use some powerful devices (don't use Raspberry Pi that I use 😖)

Known Issues

  • Raspberry Pi cannot handle grader tasks 😢😭
    • JavaScript do not work (Will be reported as Runtime Error)
    • Unexpected Time Limit

🍫 Behind this Bot

This Discord Bot use Cocoa Discord Utils, a library written by me for me to simplify things!

The problems are served by stupid-problems

🏷️ Features

  • Functional Grader with Time and Memory Limit (but does not prevent sudo reboot, use with caution)

  • Beautiful Embed (Embed Supremacy)

Planned

  • Interactive (Library like IOI & IPST Camp)

🔧 Adding a problem

Create a folder with problem ID as the name of it

Inside that folder, you should have manifest.json

For schema of manifest.json please look here or at src/problems of stupid-problems

🖼️ Gallery of Cocoa Grader

All pictures are at Version 0.2.7 except for submit is at 0.2.9

Pictures