From e4934c501b462c97dcb654888266a72fd67dc271 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 29 Feb 2020 21:56:27 -0500 Subject: [PATCH] -> --- README.md | 1 + commands/other/phone.js | 9 ++++++++- commands/text-edit/portal-send.js | 2 +- commands/util/options.js | 2 +- package.json | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c4c66440..f067664f 100644 --- a/README.md +++ b/README.md @@ -942,6 +942,7 @@ here. * beautiful (Image, Concept) * psycho-pass (Concept) * fishy (Concept) + * phone (Concept) - [Tenor](https://tenor.com/) * tenor ([API](https://tenor.com/gifapi/documentation)) - [The Internet Chuck Norris Database](http://www.icndb.com/) diff --git a/commands/other/phone.js b/commands/other/phone.js index 6440bb5f..52add72e 100644 --- a/commands/other/phone.js +++ b/commands/other/phone.js @@ -9,7 +9,14 @@ module.exports = class PhoneCommand extends Command { group: 'other', memberName: 'phone', description: 'Starts a phone call with a random server.', - guildOnly: true + guildOnly: true, + credit: [ + { + name: 'Tatsumaki', + url: 'https://tatsumaki.xyz/', + reason: 'Concept' + } + ] }); } diff --git a/commands/text-edit/portal-send.js b/commands/text-edit/portal-send.js index e64b0d1b..e868a4f9 100644 --- a/commands/text-edit/portal-send.js +++ b/commands/text-edit/portal-send.js @@ -22,7 +22,7 @@ module.exports = class PortalSendCommand extends Command { async run(msg, { message }) { if (/discord(\.gg|app\.com\/invite|\.me)\//gi.test(message)) return msg.reply('Please do not send invites.'); let channels = this.client.channels.cache.filter( - channel => channel.type === 'text' && channel.topic && channel.topic.includes('') + channel => channel.type === 'text' && channel.topic && channel.topic.includes('') ); if (msg.channel.type === 'text') { channels = channels.filter(channel => !msg.guild.channels.cache.has(channel.id)); diff --git a/commands/util/options.js b/commands/util/options.js index 19a57788..8dfe0690 100644 --- a/commands/util/options.js +++ b/commands/util/options.js @@ -20,7 +20,7 @@ module.exports = class OptionsCommand extends Command { \`\` Disables leave messages (System Channel). \`\` Allows this channel to recieve phone calls. - \`\` Marks the channel as a portal channel for \`portal-send\`. + \`\` Marks the channel as a portal channel for \`portal-send\`. `); } }; diff --git a/package.json b/package.json index c83ad82e..2faac8c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "110.10.1", + "version": "111.0.0", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {