Started implementing owner feature

This commit is contained in:
HugeFrog24
2024-10-22 14:32:16 +02:00
parent 010ce923a1
commit aca2008404
14 changed files with 98 additions and 12 deletions

1
config.go Executable file → Normal file
View File

@@ -19,6 +19,7 @@ type BotConfig struct {
Model anthropic.Model `json:"model"` // Changed from string to anthropic.Model
SystemPrompts map[string]string `json:"system_prompts"`
Active bool `json:"active"` // New field to control bot activity
OwnerTelegramID int64 `json:"owner_telegram_id"`
}
// Custom unmarshalling to handle anthropic.Model