From f252134c06c1dd4dc2a9675cd5dc52bbd9a8d041 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 19 Mar 2020 12:49:17 -0400 Subject: [PATCH] Fix --- commands/other/phone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } ],