From 1dae86299108dbd35f4666761c129e06e8d7c2b3 Mon Sep 17 00:00:00 2001 From: Doc Date: Tue, 22 Oct 2024 09:29:43 -0300 Subject: [PATCH] Add GuildMember Banner --- src/main/java/discord4j/discordjson/json/PartialMemberData.java | 2 ++ .../discord4j/discordjson/json/gateway/GuildMemberUpdate.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/main/java/discord4j/discordjson/json/PartialMemberData.java b/src/main/java/discord4j/discordjson/json/PartialMemberData.java index aaf1360b..1b0d304a 100644 --- a/src/main/java/discord4j/discordjson/json/PartialMemberData.java +++ b/src/main/java/discord4j/discordjson/json/PartialMemberData.java @@ -23,6 +23,8 @@ static ImmutablePartialMemberData.Builder builder() { Optional avatar(); + Possible> banner(); + List roles(); // Nullable for member update event concerning lurker in stage channel diff --git a/src/main/java/discord4j/discordjson/json/gateway/GuildMemberUpdate.java b/src/main/java/discord4j/discordjson/json/gateway/GuildMemberUpdate.java index 92a6ead4..9b9d14d8 100644 --- a/src/main/java/discord4j/discordjson/json/gateway/GuildMemberUpdate.java +++ b/src/main/java/discord4j/discordjson/json/gateway/GuildMemberUpdate.java @@ -32,6 +32,8 @@ static ImmutableGuildMemberUpdate.Builder builder() { Optional avatar(); + Optional banner(); + @JsonProperty("joined_at") Optional joinedAt();