mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Finally retire the PKMember setters!
This commit is contained in:
parent
281b669391
commit
c5697b33e2
9 changed files with 94 additions and 86 deletions
|
|
@ -8,6 +8,7 @@ namespace PluralKit.Core
|
|||
{
|
||||
public Partial<string> Name { get; set; }
|
||||
public Partial<string?> DisplayName { get; set; }
|
||||
public Partial<string?> AvatarUrl { get; set; }
|
||||
public Partial<string?> Color { get; set; }
|
||||
public Partial<LocalDate?> Birthday { get; set; }
|
||||
public Partial<string?> Pronouns { get; set; }
|
||||
|
|
@ -26,6 +27,7 @@ namespace PluralKit.Core
|
|||
public override UpdateQueryBuilder Apply(UpdateQueryBuilder b) => b
|
||||
.With("name", Name)
|
||||
.With("display_name", DisplayName)
|
||||
.With("avatar_url", AvatarUrl)
|
||||
.With("color", Color)
|
||||
.With("birthday", Birthday)
|
||||
.With("pronouns", Pronouns)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue