diff --git a/bot.go b/bot.go index 931e70d..8aff41d 100644 --- a/bot.go +++ b/bot.go @@ -494,6 +494,11 @@ func init() { Stream: true, Messages: lastChat, } + // Initialize Cluedo if enabled and matching role + if cfg.EnableCluedo && cfg.AssistantRole == "CluedoPlayer" { + playerOrder = []string{cfg.UserRole, cfg.AssistantRole, cfg.CluedoRole2} + cluedoState = extra.CluedoPrepCards(playerOrder) + } choseChunkParser() httpClient = createClient(time.Second * 15) // go runModelNameTicker(time.Second * 120)