This commit is contained in:
Dragon Fire
2020-12-03 15:02:33 -05:00
parent 7c46eeac27
commit b5696df27e
+1 -1
View File
@@ -47,7 +47,7 @@ module.exports = class PhoneCommand extends Command {
&& channel.topic
&& channel.topic.includes('<xiao:phone>')
&& !channel.topic.includes('<xiao:phone:no-random>')
&& !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...');