diff --git a/index.js b/index.js index 60edbf2..028f839 100644 --- a/index.js +++ b/index.js @@ -40,7 +40,7 @@ async function bulkDelete(message) { 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); }).catch(console.error); }