feat: guild update event
This commit is contained in:
parent
3ab68d4091
commit
f1c75124a8
2 changed files with 123 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue