Skip to content

Commit

Permalink
Fix pre-ib having their NSFW role removed
Browse files Browse the repository at this point in the history
  • Loading branch information
vardy committed Apr 5, 2020
1 parent 09d68bf commit ca36c11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ private void react(Member member, long message, String emote, boolean add) {
}
if(rolesToAdd.contains(preIBRole) && userRoles.stream()
.anyMatch(role -> role.getName().equals("NSFW"))) {
return;
rolesToRemove.add(nsfwRole);
}
} catch(Exception ex) {
// ignored
Expand Down

0 comments on commit ca36c11

Please sign in to comment.