Skip to content
Success

Changes

Summary

  1. Implemented Role#hasPermission(Channel, Permission...) Changed (commit: 10b7d79) (details)
Commit 10b7d79f22fef79e05ab9e78fe94924d800eca2d by Austin Keener
Implemented Role#hasPermission(Channel, Permission...) Changed
Role#hasPermission(Permission...) to be based on effective permissions
(checks <at>everyone too) Removed Role#getPermissions(Channel) as it
didn't make sense. Created
PermissionUtil#getEffectivePermission(Channel, Role)
(commit: 10b7d79)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/RoleImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/MessageImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/Role.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/utils/PermissionUtil.java (diff)