Phone Book opt-in

This commit is contained in:
Dragon Fire
2021-04-29 16:58:03 -04:00
parent 816fcad07d
commit 7913b85801
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ module.exports = class PhoneBookCommand extends Command {
return channel.guild
&& channel.topic
&& channel.topic.includes('<xiao:phone>')
&& !channel.topic.includes('<xiao:phone-book:hide>')
&& channel.topic.includes('<xiao:phone-book>')
&& (channel.guild.name.toLowerCase().includes(search) || channel.name.includes(search));
});
if (!channels.size) return msg.reply('Could not find any results.');
+1 -1
View File
@@ -28,7 +28,7 @@ module.exports = class OptionsCommand extends Command {
\`<xiao:phone:no-voicemail>\` Prevents this channel from recieving voicemails for missed calls.
\`<xiao:phone:no-random>\` Makes the channel only able to be called directly, rather than picked randomly.
\`<xiao:phone:block:INSERTIDHERE>\` Blocks a channel or server from contacting you via phone.
\`<xiao:phone-book:hide>\` Hides this channel from \`phone-book\`.
\`<xiao:phone-book>\` Shows this channel in \`phone-book\`.
__Portal Options__
\`<xiao:portal>\` Marks the channel as a portal channel for \`portal-send\`.