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
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.
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.
An arcade bot to play any supported arcade game on Twitch such as street fighter 2 (in demo video below)
This was the first build of the BlushyPets game (around mid 2016?) that I had in mind where 2 viewers battle each other during a live stream on my Twitch channel while other viewers can bet who wins and earn channel currency that in turn can be used to buy items for their own pet. The idea back at the time was to make a 2d fighting game such as Street Fighter / Mortal Kombat with RPG element where pets can equip items and grow stats and skills the further they level.