Fixed command permissions. Moved to using Twitch's EventSub via websockets. Cleaned some code up. Added detection for subscription messages (no TTS), message deletion, full or partial chat clear. Removes messages from TTS queue if applicable. Added command aliases for static parameters. Word filters use compiled regex if possible. Fixed TTS voice deletion.
This commit is contained in:
@ -36,12 +36,12 @@ namespace TwitchChatTTS.Helpers
|
||||
|
||||
public async Task<HttpResponseMessage> Post<T>(string uri, T data)
|
||||
{
|
||||
return await _client.PostAsJsonAsync(uri, data);
|
||||
return await _client.PostAsJsonAsync(uri, data, _options);
|
||||
}
|
||||
|
||||
public async Task<HttpResponseMessage> Post(string uri)
|
||||
{
|
||||
return await _client.PostAsJsonAsync(uri, new object());
|
||||
return await _client.PostAsJsonAsync(uri, new object(), _options);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user