diff --git a/commands/other/phone.js b/commands/other/phone.js index d44e7cce..276ee4bc 100644 --- a/commands/other/phone.js +++ b/commands/other/phone.js @@ -34,7 +34,7 @@ module.exports = class PhoneCommand extends Command { } async run(msg, { channelID }) { - if (channelID !== 'count' && !msg.channel.topic || !msg.channel.topic.includes('')) { + if (channelID !== 'count' && (!msg.channel.topic || !msg.channel.topic.includes(''))) { return msg.say('You can only start a call in a channel with `` in the topic.'); } const inCall = this.client.phone.some(call => [call.origin.id, call.recipient.id].includes(msg.channel.id));