From 49c76f0faa2906e80ed390d59216e8329abef52d Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Wed, 31 Mar 2021 20:33:50 -0500 Subject: [PATCH] Fix amount boundaries --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 028f839..70fe093 100644 --- a/index.js +++ b/index.js @@ -35,8 +35,8 @@ async function bulkDelete(message) { return; } - if (amount > 250 || amount < 1) { - message.reply('the number is invalid! It must be between 1 and 250 inclusive.'); + if (amount > 100 || amount < 1) { + message.reply('the number is invalid! It must be between 1 and 99 inclusive.'); return; }