Simple Discord bot made in Swift that uses SoulverCore to read messages and solve equations
  • Swift 91.9%
  • Dockerfile 8.1%
Find a file
2026-06-30 19:31:16 +03:00
.forgejo/workflows Remove sudo from Docker install steps 2026-06-30 19:31:16 +03:00
calcBot Fix delete button: remove shared state, encode author in custom_id 2026-04-03 23:49:04 +03:00
calcBot.xcodeproj init 2025-12-02 14:00:18 +03:00
Vendor/SoulverCore-linux init 2025-12-02 14:00:18 +03:00
.gitignore init 2025-12-02 14:00:18 +03:00
Dockerfile balls 2025-12-02 15:16:55 +03:00
LICENSE init 2025-12-02 14:00:18 +03:00
Package.resolved Add delete button to calculation result embeds 2026-04-03 23:13:57 +03:00
Package.swift Add delete button to calculation result embeds 2026-04-03 23:13:57 +03:00
README.md add README, add RaycastCurrencyProvider 2025-12-02 14:29:02 +03:00

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_TOKEN environment 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 opensource vicinaehq/soulver-cpp project and its underlying library SoulverCore
  • DiscordBM: For the Discord gateway and HTTP client.