mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -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...');
|
||||
|
||||
Reference in New Issue
Block a user