Skip to content

Commit

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

const [embed] = message.embeds;
if (ReactRolesCommand.isReactRole(embed)) {
if (!ReactRolesCommand.isReactRole(embed)) {
return;
}

Expand Down

0 comments on commit bd1d464

Please sign in to comment.