From e8547a90e4a5a62f1fb8cb64f6f3db5cfd2be4e6 Mon Sep 17 00:00:00 2001 From: inciner8r Date: Sat, 17 Jun 2023 19:45:43 +0530 Subject: [PATCH] test: notify on shut down --- app/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.go b/app/app.go index 8f714ad..662b105 100644 --- a/app/app.go +++ b/app/app.go @@ -31,7 +31,7 @@ func Init() { sc := make(chan os.Signal, 1) signal.Notify(sc, syscall.SIGINT, syscall.SIGTERM, os.Interrupt, os.Kill) <-sc - + fmt.Println("shutting down") // Cleanly close down the Discord session. sess.Close() }