mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
13 lines
389 B
C#
13 lines
389 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);
|
|||
|
|
}
|
|||
|
|
}
|