public ChatMessageReceivedEventArgs(TwitchIrcClient client, string prefix, string param) { IrcUser = prefix; User = prefix.Remove(prefix.IndexOf('!')); string[] paramSplit = param.Split(" :"); Channel = client.GetChannel(paramSplit[0].Replace("#", null)); Content = paramSplit[1]; }
public TwitchChannel GetChannel(string channel) { return(client.GetChannel(channel)); }