Browse Source

Increase amount by 1

master
Abheek Dhawan 4 years ago
parent
commit
8ebf4cb9f8
  1. 2
      index.js

2
index.js

@ -40,7 +40,7 @@ async function bulkDelete(message) {
return; return;
} }
await message.channel.messages.fetch( { limit: amount } ).then(messages => { await message.channel.messages.fetch( { limit: amount + 1 } ).then(messages => {
message.channel.bulkDelete(messages).catch(console.error); message.channel.bulkDelete(messages).catch(console.error);
}).catch(console.error); }).catch(console.error);
} }

Loading…
Cancel
Save