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