This commit is contained in:
Dragon Fire
2020-03-19 12:49:17 -04:00
parent 453456a4c8
commit f252134c06
+1 -1
View File
@@ -18,7 +18,7 @@ module.exports = class PhoneCommand extends Command {
default: '',
validate: channelID => {
if (channelID.toLowerCase() === 'count') return true;
return !/^[0-9]+$/.test(val);
return !/^[0-9]+$/.test(channelID);
}
}
],