Browse Source

Fix amount boundaries

master
Abheek Dhawan 4 years ago
parent
commit
49c76f0faa
  1. 4
      index.js

4
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;
}

Loading…
Cancel
Save