public void PostMessage(NotificationRequest request) { var embedPostModel = _mapper.Map <EmbedPostModel>(request); var embed = _mapper.Map <Embed>(request); embed.SetColour(ColorTranslator.FromHtml(request.GetColour())); embedPostModel.Embeds.Add(embed); Client.PostEmbed(embedPostModel, Properties.Settings.Default.DiscordWebhook); }