mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Options Command
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
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).
|
||||
`);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user