Skip to content

Commit bee85b8

Browse files
authored
fix: handleDeleteMessages return (#967)
1 parent 4686ad1 commit bee85b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/commands/repel/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,11 @@ const handleDeleteMessages = async ({
222222
}
223223
deletedCount += targetMessages.length;
224224
}
225-
return deletedCount;
226225
} catch {
227226
continue;
228227
}
229228
}
229+
return deletedCount;
230230
};
231231

232232
const logToChannel = async ({

0 commit comments

Comments
 (0)