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.
dotnet
8 SDK;- A bot API token obtained via
@BotFather
bot; docker
installed;node
installed.
- Set bot token as a value to
BotToken
property inTokiwadaiPride.Bot/appSettings.json
; - Run
run.sh
script.