Skip to content

Commit

Permalink
forgot to uncomment important code
Browse files Browse the repository at this point in the history
  • Loading branch information
BK1031 committed Jan 31, 2025
1 parent 99f57c0 commit c47cb09
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
)

var Version = "4.1.0"
var Version = "4.1.1"
var Env = os.Getenv("ENV")
var Port = os.Getenv("PORT")
var Prefix = os.Getenv("PREFIX")
Expand Down
22 changes: 11 additions & 11 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ package main
import (
"sentinel/commands"
"sentinel/config"
"sentinel/controller"
"sentinel/database"
"sentinel/jobs"
"sentinel/service"
"sentinel/utils"
)
Expand All @@ -23,16 +25,14 @@ func main() {
go service.SyncRolesForAllUsers()
commands.InitializeDiscordBot()

service.PopulateMemberDirectorySheet()
jobs.RegisterDriveCronJob()
jobs.RegisteGithubCronJob()
jobs.RegisterDiscordCronJob()

// jobs.RegisterDriveCronJob()
// jobs.RegisteGithubCronJob()
// jobs.RegisterDiscordCronJob()

// router := controller.SetupRouter()
// controller.InitializeRoutes(router)
// err := router.Run(":" + config.Port)
// if err != nil {
// utils.SugarLogger.Fatalln(err)
// }
router := controller.SetupRouter()
controller.InitializeRoutes(router)
err := router.Run(":" + config.Port)
if err != nil {
utils.SugarLogger.Fatalln(err)
}
}

0 comments on commit c47cb09

Please sign in to comment.