Skip to content

Commit

Permalink
Update Roles.java
Browse files Browse the repository at this point in the history
  • Loading branch information
xdnw committed Oct 25, 2024
1 parent 9bf6b0e commit 0d8da15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/link/locutus/discord/user/Roles.java
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ public boolean has(Member member, int alliance) {
public boolean has(Member member) {
if (member == null) return false;
if (member.getIdLong() == Locutus.loader().getAdminUserId()) return true;

if (member.isOwner()) return true;
if (member.hasPermission(Permission.ADMINISTRATOR)) return true;
GuildDB db = Locutus.imp().getGuildDB(member.getGuild());

List<Role> roles = member.getRoles();
Expand Down

0 comments on commit 0d8da15

Please sign in to comment.