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\`.
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "137.0.3",
"version": "138.0.0",
"description": "Your personal server companion.",
"main": "Xiao.js",
"private": true,
@@ -34,7 +34,7 @@
"dependencies": {
"@discordjs/collection": "^0.1.6",
"@discordjs/opus": "^0.5.0",
"@tensorflow/tfjs-node": "^3.5.0",
"@tensorflow/tfjs-node": "^3.6.0",
"@vitalets/google-translate-api": "^7.0.0",
"aki-api": "^5.2.1",
"bombsweeper.js": "^1.0.1",
@@ -84,7 +84,7 @@
"text-diff": "^1.0.1",
"tictactoe-minimax-ai": "^1.2.1",
"twemoji-parser": "^13.0.0",
"user-agents": "^1.0.633",
"user-agents": "^1.0.637",
"valid-url": "^1.0.9",
"wavefile": "^11.0.0",
"winston": "^3.3.3",