mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
33 lines
1.1 KiB
JavaScript
33 lines
1.1 KiB
JavaScript
const Command = require('../../framework/Command');
|
|
const { stripIndents } = require('common-tags');
|
|
|
|
module.exports = class OptionsCommand extends Command {
|
|
constructor(client) {
|
|
super(client, {
|
|
name: 'options',
|
|
aliases: ['options-list'],
|
|
group: 'util-public',
|
|
description: 'Responds with a list of server options.',
|
|
guarded: true
|
|
});
|
|
}
|
|
|
|
run(msg) {
|
|
return msg.say(stripIndents`
|
|
__**Server Options**__
|
|
Place the option in the appropriate channel's topic to use.
|
|
|
|
__Phone Options__
|
|
\`<xiao:phone>\` Allows this channel to recieve phone calls.
|
|
\`<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:block:INSERTIDHERE>\` Blocks a channel or server from contacting you via phone.
|
|
|
|
__Portal Options__
|
|
\`<xiao:portal>\` Marks the channel as a portal channel for \`portal-send\`.
|
|
\`<xiao:portal:hide-name>\` Hides the channel's name when the channel is chosen to recieve a portal message.
|
|
`);
|
|
}
|
|
};
|