This commit is contained in:
Dragon Fire
2020-09-02 18:00:52 -04:00
parent f23c9576e3
commit 1b9237894e
+1 -1
View File
@@ -49,7 +49,7 @@ module.exports = class PhoneCommand extends Command {
&& channel.topic.includes('<xiao:phone>')
&& !channel.topic.includes('<xiao:phone:no-random>')
&& !channel.topic.includes(`<xiao:phone:block:${msg.channel.id}>`)
&& !channel.topic.includes(`<xiao:phone:block:${mag.guild.id}>`)
&& !channel.topic.includes(`<xiao:phone:block:${msg.guild.id}>`)
&& !msg.guild.channels.cache.has(channel.id)
&& (channelID ? true : !this.client.inPhoneCall(channel)));
if (!channels.size) return msg.reply('No channels currently allow phone calls...');