mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Remove now useless option
This commit is contained in:
@@ -42,7 +42,6 @@ module.exports = class PhoneCommand extends Command {
|
||||
const channels = this.client.channels.cache.filter(channel => channel.guild
|
||||
&& channel.topic
|
||||
&& channel.topic.includes('<xiao:phone>')
|
||||
&& !channel.topic.includes('<xiao:phone:no-random>')
|
||||
&& !this.client.phone.isBlocked(msg.channel, channel, msg.author)
|
||||
&& (msg.guild ? !msg.guild.channels.cache.has(channel.id) : true)
|
||||
&& !this.client.phone.inCall(channel));
|
||||
|
||||
@@ -26,9 +26,7 @@ module.exports = class OptionsCommand extends Command {
|
||||
\`<xiao:phone:auto-accept>\` Automatically accepts all incoming phone calls.
|
||||
\`<xiao:phone:no-notice>\` Hides the abuse notice from phone call pick-ups.
|
||||
\`<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>\` Shows this channel in \`phone-book\`.
|
||||
|
||||
__Portal Options__
|
||||
\`<xiao:portal>\` Marks the channel as a portal channel for \`portal-send\`.
|
||||
|
||||
Reference in New Issue
Block a user