UG
This commit is contained in:
parent
c3fc11c7d3
commit
1e10421249
|
@ -74,7 +74,7 @@ const execute = async (message) => {
|
|||
message.channel.send('Image ID skipped. Please upload the product file. Say `cancel` to cancel creation.');
|
||||
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.');
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue