mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
feat: guild-specific name format
This commit is contained in:
parent
da4c05d4ed
commit
ec6cbb2a64
11 changed files with 75 additions and 5 deletions
|
|
@ -11,6 +11,7 @@ public class SystemGuildSettings
|
|||
public bool TagEnabled { get; }
|
||||
public string? AvatarUrl { get; }
|
||||
public string? DisplayName { get; }
|
||||
public string? NameFormat { get; }
|
||||
}
|
||||
|
||||
public static class SystemGuildExt
|
||||
|
|
@ -24,6 +25,7 @@ public static class SystemGuildExt
|
|||
o.Add("tag_enabled", settings.TagEnabled);
|
||||
o.Add("avatar_url", settings.AvatarUrl);
|
||||
o.Add("display_name", settings.DisplayName);
|
||||
o.Add("name_format", settings.NameFormat);
|
||||
|
||||
return o;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue