From 5b23d527a6f1fd55cf9a9d715e6451a313f6904a Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Wed, 31 Mar 2021 20:00:16 -0500 Subject: [PATCH] Change && to || --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index c903480..95223f5 100644 --- a/index.js +++ b/index.js @@ -33,8 +33,8 @@ async function bulkDelete(message) { return; } - if (amount > 250 && amount < 1) { - message.reply('the number is too large! It must be between 1 and 250 inclusive.'); + if (amount > 250 || amount < 1) { + message.reply('the number is invalid! It must be between 1 and 250 inclusive.'); return; }