From e21aba4e60c91507eb5edd4084d20c878aaac73f Mon Sep 17 00:00:00 2001 From: Luther Wen Xu Date: Wed, 29 Jan 2020 00:45:20 +0800 Subject: [PATCH] main: Add message when bot is turned on --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index ee22d2e..8e5fc7f 100644 --- a/main.go +++ b/main.go @@ -32,6 +32,7 @@ func main() { return } go level.ScheduleUpdates(dg) + fmt.Println("Bot is online!") sc := make(chan os.Signal, 1) signal.Notify(sc, syscall.SIGINT, syscall.SIGTERM, os.Interrupt, os.Kill)