From 48260e2695c7837f9a12c54bbbd7901e182f6b12 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Mon, 26 Aug 2019 11:44:01 +0200 Subject: [PATCH] Draft is a channel not a player --- session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/session.go b/session.go index e60a8e4..67abf88 100644 --- a/session.go +++ b/session.go @@ -228,7 +228,7 @@ func (s *session) handlePicks() { // Pick loop, this `for` handles exactly one round of packs for { s.messages <- room.Message{ - To: "draft", + Channel: "draft", Type: "draft-newpick", Message: fmt.Sprintf("New pick for pack #%d", currentPack), }