/mathcord

Discord Math Bot using Custom-Made Shunting Yard (WIP), Custom-Made SHA-512, Custom-Made ED25519

Primary LanguageGoGNU General Public License v3.0GPL-3.0

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.