// Limit max number rollable to prevent spam and API issues
if(maxRoll>999){
awaitinteraction.reply({content:`Big roller! Unfortunatly ${maxRoll} is too big a number for me. Try somewhere below 1000!`,ephemeral:true});
return;
}
// Prevent 0 or less numbers
elseif(maxRoll<1){
awaitinteraction.reply({content:`The fewer numbers, the higher the odds! Unfortunatly ${maxRoll} is too low a number... Try a positive number under 1000!`,ephemeral:true});
return;
}
// Limit numbers rollable to prevent spam and API issues
if(rollCount>9){
awaitinteraction.reply({content:`You want ${rollCount} numbers?! That's a bit much, even for me...\nTry 9 or less please!`,ephemeral:true});
return;
}
// Prevent 0 or less numbers
elseif(rollCount<1){
awaitinteraction.reply({content:`It's kinda difficult to roll ${rollCount} numbers...\nTry a positive single digit number!`,ephemeral:true});