Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var eb = new EmbedBuilder();
- eb.WithTitle("User Information");
- eb.WithFooter("https://kappa.host/");
- eb.WithCurrentTimestamp();
- eb.WithFields(
- new EmbedFieldBuilder().WithName("Name").WithValue(targetName).WithIsInline(false),
- new EmbedFieldBuilder().WithName("ID").WithValue(targetID).WithIsInline(false),
- new EmbedFieldBuilder().WithName("Creation Date").WithValue(targetCreation).WithIsInline(false),
- new EmbedFieldBuilder().WithName("Joined At").WithValue(targetJoined).WithIsInline(false),
- new EmbedFieldBuilder().WithName("Since Creation").WithValue(xDays).WithIsInline(false),
- new EmbedFieldBuilder().WithName("Roles").WithValue(roleNames).WithIsInline(false));
- eb.WithUrl("https://kappa.host/");
- eb.WithColor(new Color(r, g, b));
- await message.Channel.SendMessageAsync("", false, eb.Build());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement