Updated the message tags for various IRC commands to return proper data types.
The old way to get the message tag values was to manually parse each tag individually for example when someone subscribes a USERNOTICE event gets fired and to get the streak months and sub plan you could either get it from the system message ( x.GetTagValue(“system-msg”) ) or individual tags x.GetTagValue(“msg-param-streak-months”) and x.GetTagValue(“msg-param-sub-plan”). This was not ideal so to do this now follow the example below.
In this example we are sending a whisper from BlushyFace to BlushyFaceBot. Note that sending whispers to another user requires an authenticated user login with the following scope: whispers:edit
A custom Twitch chat overlay that can be run locally / added as a browser source for example (SL)OBS.
– shows user badges / emotes / cheermotes (cheermotes are animated by default)
– merge various chat channels into the chat overlay
– show channel name before user name
– translate twitch chat messages to uwu (twanswate twitch chat messages to uwu)
– join chat channels anonymously
– can be customized by editing the html/css files
Added “IsHosting” to the HostTarget event
The IsHosting (bool) returns whether the host channel is hosting or unhosting the target channel.
An example how to generate Twitch access tokens automatically with custom scopes. The example requires BlushyFace.Twitch.Authentication and BlushyFace.Common.HTTP to run a local HTTP server.
Started rewriting BlushyFace.Twitch.Chat into BlushyFace.Twitch.Chat.V2 because while v1 is a rewrite ported from my .NET FX version I wasn’t totally happy with it and decided to just rewrite it in it’s entirely. This is a work in progress but the basic client is fully functional. The client features are based on what I need so if you have suggestions what you would like me to add let me know with a comment below or join our discord.
The example shows how to create multiple clients, client is a user that is logged in to chat and able to receive & send chat messages while client2 is anonymous and can only receive chat messages. Requires .NET Core 3.x to run.
This is an updated version / rewrite of my Twitch library from the .NET Framework to .NET Core with the purpose to move over my other Twitch related tools to the latest and greatest. At the moment Twitch chat functionality is supported and support for the Twitch API (Kraken v5 & Helix) will be added as well once the chat part is fully done and tested.
Note that this is a work in progress so if you encounter any issues feel free to let me know so I can fix it.
That said, there aren’t really any new fancy features compared to the previous .NET Framework version so I’ll just list what it does to keep things up to speed and add some examples how to get it running.
A self hosted Twitch API tester (the default is localhost:8081) to test various Twitch endpoints such as -> Kraken (v5) / Helix and known undocumented endpoints.
Been working on an updated Twitch plays arcade bot for the past few weeks based on the one I wrote a while ago but never finished and added the following features over the last few weeks. This is basically a rewrite as the old code base was severely outdated. The rewritten v2 version can be self hosted and how it works is that the host captures a window for the client(s) to play on.
The idea is to play games (2+ player games like arcade fighting / beat em ups or any game that support multiple players) with viewers with less delay than watching the Twitch stream by using a browser while the viewers can watch the game on the broadcasters channel.
To use the library you need to add it as reference in your project.
This guide covers connecting to the Twitch chat and sending a message to chat as bot / broadcaster etc and will not go into other features the library provides. It also does not cover everything such as the various available Twitch chat commands but by following the command examples below you should be able use the rest by checking what it requires.