Get a user's avatar and scale it in discord.net

1.2k Views Asked by At

I was working on a command for my Discord bot that could display a user's avatar and I currently have this code that works fine:

var users = Context.Message.MentionedUsers;
var subject = users.First();
var eb = new EmbedBuilder();
eb.WithColor(EmbedColor);
eb.WithImageURL(subject.GetAvatarURL());
await ReplyAsync("", false, eb.Build());

How can I scale the image when it sends in the embed? Right now it's kind of small and I want to try and make it larger. Does anyone know how to do this?

0

There are 0 best solutions below