diff --git a/main.go b/main.go index dcd03ad..7f80959 100644 --- a/main.go +++ b/main.go @@ -8,8 +8,9 @@ import ( "log" "net/http" "os" - "os/signal" - "syscall" + + // "os/signal" + // "syscall" "time" Untis "untislogger/Bot" @@ -38,20 +39,20 @@ func init() { log.Println("No Discord webhook provided, Discord notifications will be disabled") } - scheduleIPCheck() // Start the periodic IP check + // scheduleIPCheck() // Start the periodic IP check } func main() { go Untis.Auth() //starting API calls function // Create a channel to receive OS signals - sigChan := make(chan os.Signal, 1) - signal.Notify(sigChan, syscall.SIGINT, syscall.SIGTERM) + /* sigChan := make(chan os.Signal, 1) + signal.Notify(sigChan, syscall.SIGINT, syscall.SIGTERM) - log.Println("Program is running. Press Ctrl+C to stop.") + log.Println("Program is running. Press Ctrl+C to stop.") - // Block until we receive a signal - <-sigChan - log.Println("Shutting down...") + // Block until we receive a signal + <-sigChan + log.Println("Shutting down...") */ } func testPubIP() {