diff --git a/commands/other/phone.js b/commands/other/phone.js index 4ede35a9..38932ae1 100644 --- a/commands/other/phone.js +++ b/commands/other/phone.js @@ -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); } } ],