mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 07:17:56 +00:00
feat: per-server keepproxy toggling (#574)
Merges PluralKit/PluralKit#574
This commit is contained in:
parent
8a59ef5f50
commit
22ce250b56
11 changed files with 131 additions and 15 deletions
|
|
@ -9,6 +9,7 @@ public class MemberGuildSettings
|
|||
public ulong Guild { get; }
|
||||
public string? DisplayName { get; }
|
||||
public string? AvatarUrl { get; }
|
||||
public bool? KeepProxy { get; }
|
||||
}
|
||||
|
||||
public static class MemberGuildExt
|
||||
|
|
@ -19,6 +20,7 @@ public static class MemberGuildExt
|
|||
|
||||
o.Add("display_name", settings.DisplayName);
|
||||
o.Add("avatar_url", settings.AvatarUrl);
|
||||
o.Add("keep_proxy", settings.KeepProxy);
|
||||
|
||||
return o;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue