From b5696df27e71fbb9d643d14666bf4a32381d67e4 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 3 Dec 2020 15:02:33 -0500 Subject: [PATCH] Fix --- commands/phone/phone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/phone/phone.js b/commands/phone/phone.js index 9153ce5b..a79df9bb 100644 --- a/commands/phone/phone.js +++ b/commands/phone/phone.js @@ -47,7 +47,7 @@ module.exports = class PhoneCommand extends Command { && channel.topic && channel.topic.includes('') && !channel.topic.includes('') - && !this.client.phone.isBlockedFromPhone(msg.channel, channel, msg.author) + && !this.client.isBlockedFromPhone(msg.channel, channel, msg.author) && (msg.guild ? !msg.guild.channels.cache.has(channel.id) : true) && (channelID ? true : !this.client.inPhoneCall(channel))); if (!channels.size) return msg.reply('No channels currently allow phone calls...');