Git Product home page Git Product logo

twitch-chat-connect's People

Contributors

aitorfdk avatar cristhianleonli avatar rhomita avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

twitch-chat-connect's Issues

Chat messages never received when calling Init method with a TwitchConnectConfig

If I call TwitchChatClient.Init() and pass in a TwitchConnectConfig() I am able to connect but I never receive any chat commands. I set a breakpoint inside ReadChatLine() and _twitchClient.Available is always 0. _reader also seems to never receive any data.

However, if I call Init() and use a TwitchConnectData ScriptableObject created in the Editor, then chat commands are received normally.

I will continue debugging to see if I can figure out why this is happening.

Also while I'm here: I set CloseTcpClient() to public because there is no other way to shut down without destroying the TwitchChatClient GameObject. I guess everyone can do this themselves but I wonder why you made it private? Inside this method I also added _writer/_reader.Close() and set them to null, as well as resetting _isAuthenticated to false because otherwise it's never reset back to false after connecting once.

Event does not trigger in a ":" input from Chat

I installed the code into my unity project and was able to set it up normally and it works normally with normal messages and

However, if an user were to input ":" into chat, it does not trigger any of the events: onChatMessageReceived, onChatCommandReceived, onChatRewardReceived

Weird behaviour happens when emotes like :D and :| is used. For example, viewer types ":) :|" in chat, it only shows the "|" in the chatMessage.Message parameter

so longer sentences like "Welcome to the stream :)" the chatMessage.Message only contains ")"

Stucked trying to connect to library

Hi, I have recently found a bug. Sometimes when you try to log in, the library gets stuck loading for a long time without logging in and it doesn't throw any errors.
The only way I know to replicate it is to log in several times until it gets stuck.
If I have to provide any more information or debug, please tell me.

Rewards not showing up?

Hello I have integrated your package into my unity 2019.4.10f1 project, upon setting up my authentication and running the example chat scene, messages show up fine, but rewards don't show up at all - I've tried with an external account too thinking maybe it won't show self account posted rewards but neither work. Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.