React app that can be used with Streamer.bot to create credits.
Add the following actions/triggers:
In the "Execute Code" sub-action of the "Add events to credits", add the following C# code:
using System;
using Newtonsoft.Json;
public class CPHInline
{
public bool Execute()
{
CPH.AddToCredits("events", JsonConvert.SerializeObject(args), true);
return true;
}
}
In the "Execute Code" sub-action of the "Reset credits" action, add the following C# code:
using System;
public class CPHInline
{
public bool Execute()
{
CPH.ResetCredits();
return true;
}
}
Then run yarn start
in your terminal and add a browser source in OBS with http://localhost:3000
in the URL
- Add styling
- Make it easier to set up