Embed name and value on the same line #2233
-
Hi, can you please make an option for embed to have its name and value on the same line like on the picture: PS this example is not made using Discord.Net |
Beta Was this translation helpful? Give feedback.
Answered by
CottageDwellingCat
Apr 7, 2022
Replies: 1 comment 1 reply
-
That is not possible with Discord embed fields, you could achieve that look with something like var inpt = new List<string>()
{
"cats",
"are",
"very",
"cute",
};
string body = inpt.Select(x => $"**{inpt.IndexOf(x) + 1}:** {x}").Aggregate((x, y) => $"{x}\n{y}");
EmbedBuilder eb = new()
{
Title = "Cats",
Description = body,
Color = Color.Red
};
await channel.SendMessageAsync(embed: eb.Build()); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
csmir
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That is not possible with Discord embed fields, you could achieve that look with something like