Added groups & permissions. Fixed 7tv reconnection. Added more subcommands for refresh.
This commit is contained in:
		
							
								
								
									
										15
									
								
								Chat/Groups/IChatterGroupManager.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								Chat/Groups/IChatterGroupManager.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
namespace TwitchChatTTS.Chat.Groups
 | 
			
		||||
{
 | 
			
		||||
    public interface IChatterGroupManager
 | 
			
		||||
    {
 | 
			
		||||
        void Add(Group group);
 | 
			
		||||
        void Add(long chatter, string group);
 | 
			
		||||
        void Add(long chatter, ICollection<string> groupIds);
 | 
			
		||||
        void Clear();
 | 
			
		||||
        Group? Get(string groupId);
 | 
			
		||||
        IEnumerable<string> GetGroupNamesFor(long chatter);
 | 
			
		||||
        int GetPriorityFor(long chatter);
 | 
			
		||||
        int GetPriorityFor(IEnumerable<string> groupIds);
 | 
			
		||||
        bool Remove(long chatter, string groupId);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user