Fix hardcoded config path

This commit is contained in:
Layla 2023-06-19 04:09:19 -04:00
parent d52e3e1c3c
commit 6ceceba221

View File

@ -71,5 +71,5 @@ func (loader *ComponentLoader) RegisterCommand(name string, config common.ChatCo
}
func (loader *ComponentLoader) GetConfigPath(fileName string) string {
return filepath.Join(loader.configDir, "birdbot", fileName)
return filepath.Join(loader.configDir, fileName)
}