feat!: (WIP) switched back to using config files config storages because the conversation handling is shit

This commit is contained in:
krau
2025-02-19 11:05:30 +08:00
parent 80696c9661
commit 692e970772
24 changed files with 584 additions and 645 deletions

View File

@@ -1,6 +1,9 @@
package bootstrap
import (
"fmt"
"os"
"github.com/krau/SaveAny-Bot/bot"
"github.com/krau/SaveAny-Bot/common"
"github.com/krau/SaveAny-Bot/config"
@@ -9,7 +12,10 @@ import (
)
func InitAll() {
config.Init()
if err := config.Init(); err != nil {
fmt.Println("Failed to init config: ", err)
os.Exit(1)
}
logger.InitLogger()
logger.L.Info("Starting SaveAny-Bot...")