FliiFe / cas-discord

Discord bot for mathematics and symbolic computations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cas-discord

This bot aims to integrate the giac computer algebra system into Discord.

Commands

@giac <input>

This is the main command: it runs giac with the specified input and returns stdout.

This can also be invoked by using @CAS (or mention whatever user the bot is running as). When interacting with the bot in a DM channel, you can ommit the prefix.

Sample output

zeros(x^2-x-2,x) czeros(x^2+x+1) texpand(cos(a+b)) tlin(sin(x)^3)

How does it work ?

I created a docker image that takes giac input and spits out the output as base64-encoded png images. The bot then decodes these images and sends them.

About

Discord bot for mathematics and symbolic computations


Languages

Language:Shell 49.6%Language:JavaScript 36.2%Language:Dockerfile 14.2%