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:
16
Twitch/Socket/Messages/NotificationMessage.cs
Normal file
16
Twitch/Socket/Messages/NotificationMessage.cs
Normal file
@ -0,0 +1,16 @@
|
||||
namespace TwitchChatTTS.Twitch.Socket.Messages
|
||||
{
|
||||
public class NotificationMessage
|
||||
{
|
||||
public NotificationInfo Subscription { get; set; }
|
||||
public object Event { get; set; }
|
||||
}
|
||||
|
||||
public class NotificationInfo : EventSubscriptionMessage
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Status { get; set; }
|
||||
public DateTime CreatedAt { get; set; }
|
||||
public object Event { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user