mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 23:07:54 +00:00
Add server-specific member avatars
This commit is contained in:
parent
6d5004bf54
commit
d0d3579b17
10 changed files with 108 additions and 42 deletions
|
|
@ -121,7 +121,7 @@ namespace PluralKit.Bot
|
|||
|
||||
// Get variables in order and all
|
||||
var proxyName = match.Member.ProxyName(match.System.Tag, memberSettingsForGuild.DisplayName);
|
||||
var avatarUrl = match.Member.AvatarUrl ?? match.System.AvatarUrl;
|
||||
var avatarUrl = memberSettingsForGuild.AvatarUrl ?? match.Member.AvatarUrl ?? match.System.AvatarUrl;
|
||||
|
||||
// If the name's too long (or short), bail
|
||||
if (proxyName.Length < 2) throw Errors.ProxyNameTooShort(proxyName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue