Added group support for websockets.
This commit is contained in:
@@ -77,6 +77,16 @@ namespace TwitchChatTTS.Chat.Groups
|
||||
return 0;
|
||||
}
|
||||
|
||||
public void Modify(Group group)
|
||||
{
|
||||
_groups[group.Name] = group;
|
||||
}
|
||||
|
||||
public bool Remove(string groupId)
|
||||
{
|
||||
return _groups.Remove(groupId);
|
||||
}
|
||||
|
||||
public bool Remove(long chatterId, string groupId)
|
||||
{
|
||||
if (_chatters.TryGetValue(chatterId, out var groups))
|
||||
|
||||
Reference in New Issue
Block a user