Simple Discord bot made in Swift that uses SoulverCore to read messages and solve equations
- Swift 87.2%
- Dockerfile 9.9%
- Shell 2.9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .forgejo/workflows | ||
| calcBot | ||
| calcBot.xcodeproj | ||
| Vendor/SoulverCore-linux | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile | ||
| LICENSE | ||
| Package.resolved | ||
| Package.swift | ||
| README.md | ||
calcBot
A Discord bot that uses Soulver-style natural language math to evaluate expressions and return nicely formatted results.
Usage
- Configure: Set the
DISCORD_BOT_TOKENenvironment variable to your bot token. - Run: Build and run the executable target; the bot will connect to Discord and respond to messages with evaluated results.
Credits
- soulver-cpp: This project builds on the excellent work in the open‑source
vicinaehq/soulver-cppproject and its underlying library SoulverCore - DiscordBM: For the Discord gateway and HTTP client.