feat: Scaffolding bot

This commit is contained in:
2025-07-26 17:18:41 -07:00
parent 4acfd33eae
commit 8d3bcbc01d
10 changed files with 443 additions and 18 deletions
+14
View File
@@ -9,3 +9,17 @@ type AppState struct {
Bags map[string]crawler.Bag `firestore:"bags"`
ChatIDs []int64 `firestore:"chat_ids"`
}
// UserState represents the state of all users.
type UserState struct {
Users map[string]ChatState `firestore:"users"`
FreeCode []string `firestore:"free_code"`
}
type ChatState struct {
ChatID int64 `firestore:"chat_id"`
Registered bool `firestore:"registered"`
InviteCode string `firestore:"invite_code"`
CurrentOp string `firestore:"current_operation"`
Context string `firestore:"context"`
}