Thisnthat 5 years ago
parent
commit
4386a8d228
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bot.go

+ 1 - 1
bot.go

@@ -38,7 +38,7 @@ func (bot *Bot) Start(wg *sync.WaitGroup) error {
 	}
 	logrus.Info("Discord bot has connected")
 	bot.running = make(chan os.Signal, 1)
-
+	bot.online = true
 	signal.Notify(bot.running, syscall.SIGINT, os.Kill)
 	<-bot.running