Пример #1
0
 public void Process(PrivateMessage message)
 {
     if (message.SanitizedText[0] == '!' && message.IsMod) {
     _commander.Post(message);
     _modCommander.Post(message);
       }
 }
Пример #2
0
 public void Visit(PrivateMessage privateMessage)
 {
     throw new NotImplementedException();
 }
Пример #3
0
 public override void Visit(PrivateMessage privateMessage)
 {
     var obj = new PrivateMessageSender(privateMessage.SenderName, privateMessage.OriginalText);
       _websocket.Send($"PRIVMSG {JsonConvert.SerializeObject(obj)}");
 }
Пример #4
0
 public void Visit(PrivateMessage privateMessage) {
   Print(privateMessage);
 }
Пример #5
0
 public void Process(PrivateMessage message)
 {
 }