remove log

This commit is contained in:
unintendedfraud
2023-08-27 09:01:20 +02:00
parent 3cafbb3d20
commit 19b5460a6f
-11
View File
@@ -31,21 +31,10 @@ func main() {
return
}
fmt.Println("before .Close")
// Wait here until CTRL-C or other term signal is received.
fmt.Println("Bot is now running. Press CTRL-C to exit.")
sc := make(chan os.Signal, 1)
signal.Notify(sc, syscall.SIGINT, syscall.SIGTERM, os.Interrupt)
<-sc
dgclient.Close()
fmt.Println("after .Close")
// addr := fmt.Sprintf(":%s", env.Port)
// fmt.Println("starting server at", addr)
//
// if err := http.ListenAndServe(addr); err != nil {
// panic(err)
// }
}