First commit

This commit is contained in:
2025-05-09 03:16:10 +00:00
commit 0cef3e0a90
10 changed files with 630 additions and 0 deletions

24
config/config.go Normal file
View File

@ -0,0 +1,24 @@
package config
// CustomTeamNames maps lowercase custom inputs to API-recognized team codes.
// Add aliases here, e.g.: "bama": "alabama", "osu": "ohio state"
var CustomTeamNames = map[string]string{
"bama": "alabama",
"barn": "auburn",
}
// Config holds the Matrix homeserver URL, bot user ID, and access token.
type Config struct {
Homeserver string
UserID string
AccessToken string
}
// Load returns configuration with hardcoded values; replace with your bot's credentials.
func Load() *Config {
return &Config{
Homeserver: "", // the URL to your Homeserver
UserID: "", // your bot's user ID
AccessToken: "", // your bot's access token
}
}