private string BuildSlurMessage(string message, User randomUser, User targetUser) { message = message.Replace(SlurUserMention, _userService.Mention(targetUser)); message = message.Replace(RandomUserMention, _userService.Mention(randomUser)); if (message.Contains(Fatty)) { var fat = _slurRepository.GetFat().ToString(); message = message.Replace(Fatty, fat); _slurRepository.IncrementFat(); } return(message); }
private string BuildSlurMessage(string message, string randomUserid, string targetUserId) { message = message.Replace(SlurUserMention, Utils.UserMention(targetUserId)); message = message.Replace(RandomUserMention, Utils.UserMention(randomUserid)); if (message.Contains(Fatty)) { var fat = _slurRepository.GetFat().ToString(); message = message.Replace(Fatty, fat); _slurRepository.IncrementFat(); } return(message); }