No description
- Rust 67.2%
- Nix 32.8%
| src | ||
| .envrc | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| deny.toml | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
| taplo.toml | ||
A small discord bot that has only a single but powerful command:
/calc query:
This command passes the query directly to libQalculate.
What can I put in query?
Qalculate is a very powerful and versatile calculator which has many functions. I won't list them here since they have docs themselves here.
How to build and run
It's important to compile libqalculate with the flag --disable-insecure to reduce the surface for rce and leaking
sensitive information, the flake does this automatically in both the package and the devshell.
After you built the bot it's adviced to run is in a secure place where you add DISCORD_TOKEN to the environment.