main: Add message when bot is turned on

master
Luther Wen Xu 2020-01-29 00:45:20 +07:00
parent 6b0afb5f1d
commit e21aba4e60
Signed by: chanbakjsd
GPG Key ID: B7D77E3E9D102B70
1 changed files with 1 additions and 0 deletions

@ -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)