Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 881 Bytes

README.md

File metadata and controls

35 lines (20 loc) · 881 Bytes

Mathcord: A Disord Math Expression Bot Written From Scratch

Good day! You can add a version of the bot via:

Use:

/solve <expression>

This bot is written from scratch. It relies on zero third-party libraries (save for Godotenv).

The following algorithms have been implemented for this bot:

  • Shunting Yard (for actual parsing and solving)
  • SHA-512 (which ED25519 relies on)
  • ED25519 (for verification)

To run this bot on your own server, just do:

sudo docker-compose up -d

You'll need a public key!

Provide the script with PK through local environment variable APP_PK. Just do:

echo APP_PK=<pk> > .env

in the directory.