2021-08-27 15:03:47 +00:00
|
|
|
#nullable enable
|
2020-06-29 13:20:28 +00:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
}
|