No description
  • Rust 67.2%
  • Nix 32.8%
Find a file
2026-09-07 22:25:47 +02:00
src create database at new path 2026-09-07 22:25:47 +02:00
.envrc version 0.0.1 2026-09-06 19:17:29 +02:00
.gitignore use database to keep track of existing users 2026-09-06 20:12:06 +02:00
Cargo.lock add tracing and key-regen 2026-09-06 21:13:46 +02:00
Cargo.toml add tracing and key-regen 2026-09-06 21:13:46 +02:00
deny.toml version 0.0.1 2026-09-06 19:17:29 +02:00
flake.lock version 0.0.1 2026-09-06 19:17:29 +02:00
flake.nix version 0.0.1 2026-09-06 19:17:29 +02:00
LICENSE version 0.0.1 2026-09-06 19:17:29 +02:00
README.md version 0.0.1 2026-09-06 19:17:29 +02:00
taplo.toml version 0.0.1 2026-09-06 19:17:29 +02:00

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.