Beispiel #1
0
 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];
 }
Beispiel #2
0
 public TwitchChannel GetChannel(string channel)
 {
     return(client.GetChannel(channel));
 }