This commit is contained in:
Christopher Cookman 2025-01-16 21:25:22 -07:00
parent c3fc11c7d3
commit 1e10421249

View file

@ -74,7 +74,7 @@ const execute = async (message) => {
message.channel.send('Image ID skipped. Please upload the product file. Say `cancel` to cancel creation.'); message.channel.send('Image ID skipped. Please upload the product file. Say `cancel` to cancel creation.');
return; return;
} }
if (!/^\d{1,15}$/.test(newImageId)) { if (!/^\d{1,15}$/.test(imageId)) {
message.channel.send('Invalid Image ID. It must be a number between 1 and 15 digits.'); message.channel.send('Invalid Image ID. It must be a number between 1 and 15 digits.');
return; return;
} }