diff --git a/twitchbot/bot.go b/twitchbot/bot.go index b1db99a..977915c 100644 --- a/twitchbot/bot.go +++ b/twitchbot/bot.go @@ -71,7 +71,7 @@ func (event *EventHandler) configure(bot *Bot) { bot.client.AddHandler("PRIVMSG", func(command *Command) bool { message := ParseMessage(command, bot) for _, handler := range event.messageHandlers { - handler(bot, message) + go handler(bot, message) } return true })