Пример #1
0
        private void OnWhisper(object sender, TwitchLib.PubSub.Events.OnWhisperArgs e)
        {
            // If the channelId is not the channel id we're trying to listen to in this class, don't continue.
            if (e.RecipientId != _channelId)
            {
                return;
            }

            Debug.Log($"{e.Body}");
        }
Пример #2
0
 private void OnWhisper(object sender, TwitchLib.PubSub.Events.OnWhisperArgs e)
 {
     Debug.Log($"{e.Body}");
     // Do your bits logic here.
 }