mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 07:46:43 +02:00
26 lines
670 B
JavaScript
26 lines
670 B
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',
|
|
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).
|
|
\`<portal>\` Marks the channel as a portal channel for \`portal-send\`.
|
|
`);
|
|
}
|
|
};
|