Files
xiao/commands/util-public/options.js
T
2020-07-07 16:48:20 -04:00

30 lines
1.0 KiB
JavaScript

const Command = require('../../structures/Command');
const { stripIndents } = require('common-tags');
module.exports = class OptionsCommand extends Command {
constructor(client) {
super(client, {
name: 'options',
aliases: ['options-list'],
group: 'util-public',
memberName: 'options',
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.
\`<xiao:disable-leave>\` Disables leave messages (System Channel).
\`<xiao:phone>\` Allows this channel to recieve phone calls.
\`<xiao:phone:no-voicemail>\` Prevents this channel from recieving voicemails for missed calls.
\`<xiao:phone-book:hide>\` Hides this channel from \`phone-book\`.
\`<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.
`);
}
};