Skip to content

Commit

Permalink
Remove timeout check
Browse files Browse the repository at this point in the history
  • Loading branch information
rtm516 committed Jul 16, 2024
1 parent 9fbdabe commit b0fc9c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void onAutoModExecution(@Nonnull AutoModExecutionEvent event) {
if (executions < 3) return;

Member member = event.getGuild().getMemberById(userId);
if (member == null || member.isTimedOut()) return;
if (member == null) return;

Guild guild = event.getGuild();
String reason = "Suspected account compromise";
Expand Down

0 comments on commit b0fc9c1

Please sign in to comment.