mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 14:57:54 +00:00
feat: add support for external avatar hosting service (#614)
This commit is contained in:
parent
8befb1c857
commit
8157c6932e
9 changed files with 94 additions and 5 deletions
|
|
@ -80,4 +80,6 @@ public static class AvatarUtils
|
|||
|
||||
return newUrl;
|
||||
}
|
||||
|
||||
public static bool IsDiscordCdnUrl(string? url) => url != null && DiscordCdnUrl.Match(url).Success;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue