Skip to content

Commit 5f36f52

Browse files
committed
ugh
1 parent 1811097 commit 5f36f52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ function scheduleDeleteMessages() {
221221

222222
if (details.deletingAttachments) {
223223
const [count , err] = await deleteChannelAttachmentBatch(details.channelId);
224+
console.log(count, err)
224225

225226
if (err?.type && err.type !== 'INVALID_PATH') {
226227
console.trace(err);
@@ -235,7 +236,6 @@ function scheduleDeleteMessages() {
235236
if (count) {
236237
Log.info('Deleted '+ count + ' attachments from ' + details.channelId)
237238
}
238-
return;
239239
}
240240

241241
if (!details.deletingMessages) return;

0 commit comments

Comments
 (0)