Fix hardcoded config path
This commit is contained in:
parent
d52e3e1c3c
commit
6ceceba221
@ -71,5 +71,5 @@ func (loader *ComponentLoader) RegisterCommand(name string, config common.ChatCo
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (loader *ComponentLoader) GetConfigPath(fileName string) string {
|
func (loader *ComponentLoader) GetConfigPath(fileName string) string {
|
||||||
return filepath.Join(loader.configDir, "birdbot", fileName)
|
return filepath.Join(loader.configDir, fileName)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user