<portal> -> <xiao:portal>

This commit is contained in:
Dragon Fire
2020-02-29 21:56:27 -05:00
parent ca56570728
commit e4934c501b
5 changed files with 12 additions and 4 deletions
+1
View File
@@ -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/)
+8 -1
View File
@@ -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'
}
]
});
}
+1 -1
View File
@@ -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('<portal>')
channel => channel.type === 'text' && channel.topic && channel.topic.includes('<xiao:portal>')
);
if (msg.channel.type === 'text') {
channels = channels.filter(channel => !msg.guild.channels.cache.has(channel.id));
+1 -1
View File
@@ -20,7 +20,7 @@ module.exports = class OptionsCommand extends Command {
\`<xiao:disable-leave>\` Disables leave messages (System Channel).
\`<xiao:phone>\` Allows this channel to recieve phone calls.
\`<portal>\` Marks the channel as a portal channel for \`portal-send\`.
\`<xiao:portal>\` Marks the channel as a portal channel for \`portal-send\`.
`);
}
};
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "110.10.1",
"version": "111.0.0",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {