Beispiel #1
0
        public static string SanitizeMessage(IMessage message)
        {
            var newContent = MentionUtils.Resolve(message, 0, TagHandling.FullName, TagHandling.FullName, TagHandling.FullName, TagHandling.FullName, TagHandling.FullName);

            newContent = Format.StripMarkDown(newContent);
            return(newContent);
        }
 /// <inheritdoc />
 public string Resolve(TagHandling userHandling = TagHandling.Name, TagHandling channelHandling  = TagHandling.Name,
                       TagHandling roleHandling = TagHandling.Name, TagHandling everyoneHandling = TagHandling.Ignore, TagHandling emojiHandling = TagHandling.Name)
 => MentionUtils.Resolve(this, 0, userHandling, channelHandling, roleHandling, everyoneHandling, emojiHandling);