Everything regarding the Twitch intergration and pubsub seems to work great! My only issue is that i'm trying to respond to user commands or interactions via channel chat and i can't seem to get it working at all. twitch.Chat.SendMessageToChannel(com.Channel,com.Sender.DisplayName + " | Test!"); I'm using this in the OnChatCommandRecieved listner.
#Can't seem to get SendMessageToChannel working
1 messages · Page 1 of 1 (latest)
Hi! I could think of three possible issues:
-
Your token does not have the chat:edit (I think that was it) scope
-
com.Channel is spelled wrong (you should only use lowercase chars, this works 100%)
-
Your bot is not joined to the channel (unlikely as you say it is a callback in OnChatCommandRecieved)
Have you verified, that OnChatCommandRecieved gets called as expected? Debug.Log from it or sth like that
The chat:edit was the issue. Thank you!