We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1811097 commit 5f36f52Copy full SHA for 5f36f52
1 file changed
src/index.ts
@@ -221,6 +221,7 @@ function scheduleDeleteMessages() {
221
222
if (details.deletingAttachments) {
223
const [count , err] = await deleteChannelAttachmentBatch(details.channelId);
224
+ console.log(count, err)
225
226
if (err?.type && err.type !== 'INVALID_PATH') {
227
console.trace(err);
@@ -235,7 +236,6 @@ function scheduleDeleteMessages() {
235
236
if (count) {
237
Log.info('Deleted '+ count + ' attachments from ' + details.channelId)
238
}
- return;
239
240
241
if (!details.deletingMessages) return;
0 commit comments