Skip to content

Commit

Permalink
fix: fix logic for reactrole remove
Browse files Browse the repository at this point in the history
  • Loading branch information
Battlesquid committed Jul 11, 2024
1 parent bd1d464 commit f72be43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/listeners/reactrole_remove.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class ReactRoleRemoveListener extends Listener {
return;
}

if (member.roles.cache.has(roleID)) {
if (!member.roles.cache.has(roleID)) {
return;
}

Expand Down

0 comments on commit f72be43

Please sign in to comment.