Simple Discord bot made in Swift that uses SoulverCore to read messages and solve equations
- Swift 91.9%
- Dockerfile 8.1%
| .forgejo/workflows | ||
| calcBot | ||
| calcBot.xcodeproj | ||
| Vendor/SoulverCore-linux | ||
| .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.