sneat-bots
Shared Telegram bot framework for Sneat extensions. Go module
github.com/sneat-co/sneat-bots.
Provides the generic bot scaffolding that individual bot profiles (debtusbot,
splitusbot, listusbot, …) build on, extracted from sneat-go/pkg/bots:
anybot — base profile (NewProfile, shared Sneat bot/chat/user DBOs)
anybot/cmds4anybot — common commands + BotParams
anybot/const4anybot, anybot/facade4anybot
bothelper, botsettings, botinitparams
sneatbots/{facade4bots, models4bots, tghelpers}
It depends only on sneat-go-core, sneat-core-modules, the bots-go-framework
libraries, and dalgo — never on any app/extension module.
Status: scaffold. Generic bot framework packages are being moved in from
sneat-go (see the debtus repo's docs/P2-SNEAT-BOTS-EXTRACTION-PLAN.md).
Requirements
Build & test
go build ./...
go test ./...
License
AGPL-3.0 — see LICENSE.