The bot consists of three services:
TokiwadaiPride.Bot- the bot itself. Handles incoming messages, validates arguments and passes them to a database service.TokiwadaiPride.Database- the database service. Uses SQLite to store the data locally.TokiwadaiPride.Web- the service for Web UI of expense data.
Other parts:
TokiwadaiPride.Contract- contracts between bot and database services.TokiwadaiPride.Database.Client- a client wrapper over raw HTTP for the database service.TokiwadaiPride.Redis- Redis wrapper for use in bot and web services.
dotnet8 SDK;- A bot API token obtained via
@BotFatherbot; dockerinstalled;nodeinstalled.
- Set bot token as a value to
BotTokenproperty inTokiwadaiPride.Bot/appSettings.json; - Run
run.shscript.