feat: guild update event

This commit is contained in:
sam 2024-10-14 15:57:57 +02:00
parent 3ab68d4091
commit f1c75124a8
Signed by: sam
GPG key ID: 5F3C3C1B3166639D
2 changed files with 123 additions and 0 deletions

View file

@ -36,6 +36,7 @@ public static class DiscordExtensions
: $"{user.Username.Value}#{discriminator:0000}";
}
// TODO: replace these avatar URL methods with the built-in CDN.* methods?
public static string AvatarUrl(this IUser user, int size = 256)
{
if (user.Avatar != null)