Ejemplo n.º 1
0
 public override void MessageChannel(string channel, string message)
 {
     message = EmotesHandler.Replace(message);
     message = ChatTokens.ApplyCustom(message);
     message = Colors.StripUsed(message);
     api.SendMessage(channel, message);
 }
Ejemplo n.º 2
0
 protected override string ConvertMessage(string message)
 {
     message = EmotesHandler.Replace(message);
     message = ChatTokens.ApplyCustom(message);
     message = Colors.StripUsed(message);
     return(message);
 }
Ejemplo n.º 3
0
 /// <summary> Formats a message for displaying on the external communication service </summary>
 /// <example> IRC converts colors such as &amp;0 into IRC color codes </example>
 protected virtual string ConvertMessage(string message)
 {
     message = EmotesHandler.Replace(message);
     message = ChatTokens.ApplyCustom(message);
     return(message);
 }