Skip to content

Commit 26d1fbc

Browse files
authored
docs(AuditLogKey): correct expected type for MEMBER_ROLES_ADD/REMOVE (#2940)
1 parent 41fd7c4 commit 26d1fbc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/java/net/dv8tion/jda/api/audit/AuditLogKey.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -426,19 +426,19 @@ public enum AuditLogKey
426426

427427
/**
428428
* Roles added to {@link net.dv8tion.jda.api.entities.Member#getRoles() Member.getRoles()} with this action
429-
* <br>Containing a list of {@link net.dv8tion.jda.api.entities.Role Role} IDs
429+
* <br>Containing a list of role objects (maps) with entries for {@code id} and {@code name}
430430
* <br>Use with {@link net.dv8tion.jda.api.entities.Guild#getRoleById(String) Guild.getRoleById(String)}
431431
*
432-
* <p>Expected type: <b>List{@literal <String>}</b>
432+
* <p>Expected type: <b>List{@literal <Map<String, String>>}</b>
433433
*/
434434
MEMBER_ROLES_ADD("$add"),
435435

436436
/**
437437
* Roles removed from {@link net.dv8tion.jda.api.entities.Member#getRoles() Member.getRoles()} with this action
438-
* <br>Containing a list of {@link net.dv8tion.jda.api.entities.Role Role} IDs
438+
* <br>Containing a list of role objects (maps) with entries for {@code id} and {@code name}
439439
* <br>Use with {@link net.dv8tion.jda.api.entities.Guild#getRoleById(String) Guild.getRoleById(String)}
440440
*
441-
* <p>Expected type: <b>List{@literal <String>}</b>
441+
* <p>Expected type: <b>List{@literal <Map<String, String>>}</b>
442442
*/
443443
MEMBER_ROLES_REMOVE("$remove"),
444444

0 commit comments

Comments
 (0)