public DiscordEmbedBuilder GetDagensOrdEmbedBuilder() { var embedBuilder = new DiscordEmbedBuilder(); embedBuilder.SetupWithDefaultValues(_discordClient); embedBuilder.WithTitle($"{ DiscordEmoji.FromName(_discordClient, ":date:") } Dagens ord"); if (_ordEntry != null) { if (DateTime.Now.DayOfWeek == DayOfWeek.Friday) { try { var grodanEmoji = DiscordEmoji.FromName(_discordClient, $":{ Resources.ConstantData.DagensOrd.GrodanEmoji }:"); embedBuilder.AddField(Strings.FredagMessage, grodanEmoji); } catch { LogWarning("Could not find emoji..."); } } // Append the data in Ord to the end of this embed. embedBuilder = _ordEntry.AddDataToEmbedBuilder(embedBuilder); } else { embedBuilder.AddField("Ojdå.", "Dagens ord finns inte!"); } return(embedBuilder); }