diff --git a/pubsub.go b/pubsub.go index da98d0d..60903c0 100644 --- a/pubsub.go +++ b/pubsub.go @@ -66,6 +66,7 @@ type TwitchPubSub struct { func NewTwitchPubSub() *TwitchPubSub { t := &TwitchPubSub{ responseCh: make(chan *twitchMessage), + SubscribedTopics: make([]string, 0), } return t