Fixed TTS using StreamElements. Fixed several issues.
This commit is contained in:
@@ -120,8 +120,7 @@ namespace TwitchChatTTS.Twitch.Socket.Handlers
|
||||
private int GetTotalBits(TwitchChatFragment[] fragments)
|
||||
{
|
||||
return fragments.Where(f => f.Type == "cheermote" && f.Cheermote != null)
|
||||
.Select(f => f.Cheermote!.Bits)
|
||||
.Sum();
|
||||
.Sum(f => f.Cheermote!.Bits);
|
||||
}
|
||||
|
||||
private string GetPermissionPath(string? customRewardId, int bits)
|
||||
|
||||
Reference in New Issue
Block a user