mirror of
https://github.com/HugeFrog24/go-telegram-bot.git
synced 2026-03-02 08:24:34 +00:00
Started implementing owner feature
This commit is contained in:
1
config.go
Executable file → Normal file
1
config.go
Executable file → Normal 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
|
||||
|
||||
Reference in New Issue
Block a user