diff --git a/commands/other/phone-book.js b/commands/other/phone-book.js index 5f19deb3..588bd094 100644 --- a/commands/other/phone-book.js +++ b/commands/other/phone-book.js @@ -27,7 +27,7 @@ module.exports = class PhoneBookCommand extends Command { && channel.topic.includes('') && !channel.topic.includes('') && !msg.guild.channels.cache.has(channel.id) - && (channel.guild.name.includes(search) || channel.name.includes(search) || channel.id === search); + && (channel.guild.name.toLowerCase().includes(search) || channel.name.includes(search)); }); if (!channels.size) return msg.reply('Could not find any results.'); return msg.say(stripIndents`