public long TwitchGetChannelPointsUsedByUserId(string userId)
Twitch Id of the user
long
using System;
public class CPHInline
{
public bool Execute()
{
//Get user id of current user
CPH.TryGetArg("userId",out string userId);
//Get amount
long amount = CPH.TwitchGetChannelPointsUsedByUserId(userId); //Set as argument example
CPH.SetArgument("amountSpend",amount);
return true;
}
}