PluralKit/PluralKit.Core/Models/Patch/MemberGuildPatch.cs
2021-08-27 11:03:47 -04:00

13 lines
386 B
C#

#nullable enable
namespace PluralKit.Core
{
public class MemberGuildPatch: PatchObject
{
public Partial<string?> DisplayName { get; set; }
public Partial<string?> AvatarUrl { get; set; }
public override UpdateQueryBuilder Apply(UpdateQueryBuilder b) => b
.With("display_name", DisplayName)
.With("avatar_url", AvatarUrl);
}
}