From 8e8fe57aa8155f0f09433bb5228d6dc1d809d95c Mon Sep 17 00:00:00 2001 From: Dking08 Date: Tue, 21 Oct 2025 21:38:37 +0530 Subject: [PATCH] Update documentation for MEMBER_ROLES_ADD and MEMBER_ROLES_REMOVE to reflect new expected data structure (#2825) --- src/main/java/net/dv8tion/jda/api/audit/AuditLogKey.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/net/dv8tion/jda/api/audit/AuditLogKey.java b/src/main/java/net/dv8tion/jda/api/audit/AuditLogKey.java index d279ca9a87..46a860480a 100644 --- a/src/main/java/net/dv8tion/jda/api/audit/AuditLogKey.java +++ b/src/main/java/net/dv8tion/jda/api/audit/AuditLogKey.java @@ -426,19 +426,19 @@ public enum AuditLogKey /** * Roles added to {@link net.dv8tion.jda.api.entities.Member#getRoles() Member.getRoles()} with this action - *
Containing a list of {@link net.dv8tion.jda.api.entities.Role Role} IDs + *
Containing a list of role objects (maps) with entries for {@code id} and {@code name} *
Use with {@link net.dv8tion.jda.api.entities.Guild#getRoleById(String) Guild.getRoleById(String)} * - *

Expected type: List{@literal } + *

Expected type: List{@literal >} */ MEMBER_ROLES_ADD("$add"), /** * Roles removed from {@link net.dv8tion.jda.api.entities.Member#getRoles() Member.getRoles()} with this action - *
Containing a list of {@link net.dv8tion.jda.api.entities.Role Role} IDs + *
Containing a list of role objects (maps) with entries for {@code id} and {@code name} *
Use with {@link net.dv8tion.jda.api.entities.Guild#getRoleById(String) Guild.getRoleById(String)} * - *

Expected type: List{@literal } + *

Expected type: List{@literal >} */ MEMBER_ROLES_REMOVE("$remove"),