mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 08:12:04 +02:00
<portal> -> <xiao:portal>
This commit is contained in:
@@ -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/)
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -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));
|
||||
|
||||
@@ -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
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "110.10.1",
|
||||
"version": "111.0.0",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user