improved log messages

This commit is contained in:
2024-03-17 00:01:03 +01:00
parent 5b3c9c8ed5
commit e0badcb7a2
2 changed files with 9 additions and 9 deletions

View File

@@ -51,11 +51,11 @@ func main() {
logrus.Error("error opening connection,", err)
return
}
logrus.Infof("\nBot is now running as \"%s\"!", bot.State.User.Username)
logrus.Infof("Bot is now running as '%s'!", bot.State.User.Username)
sc := make(chan os.Signal, 1)
signal.Notify(sc, syscall.SIGINT, syscall.SIGTERM, os.Interrupt)
<-sc
logrus.Info("\nShutting down...")
logrus.Info("Shutting down...")
bot.Close()
}