First commit

This commit is contained in:
2025-05-09 04:43:15 +00:00
commit 7d1c046145
9 changed files with 384 additions and 0 deletions

19
config/config.go Normal file
View File

@ -0,0 +1,19 @@
package config
// Config holds Matrix and OpenAI credentials for the GPT bot.
type Config struct {
Homeserver string
BotUserID string
AccessToken string
OpenAIKey string
}
// Load returns hardcoded credentials; replace with your own values.
func Load() *Config {
return &Config{
Homeserver: "",
BotUserID: "", // replace with your bot's user ID
AccessToken: "", // replace with bot access token
OpenAIKey: "", // replace with your OpenAI key
}
}