This commit is contained in:
HugeFrog24
2026-02-11 18:39:02 +01:00
parent e9fd36b22d
commit 547dc8ca1a
30 changed files with 1936 additions and 229 deletions

2
database.go Executable file → Normal file
View File

@@ -20,7 +20,7 @@ func initDB() (*gorm.DB, error) {
},
)
db, err := gorm.Open(sqlite.Open("bot.db"), &gorm.Config{
db, err := gorm.Open(sqlite.Open("data/bot.db"), &gorm.Config{
Logger: newLogger,
})
if err != nil {