Files
xiao/commands/util/setting-help.js
T
Daniel Odendahl Jr 5aaf17c26c Lots of Updates
2017-08-03 22:47:18 +00:00

32 lines
1.1 KiB
JavaScript

const Command = require('../../structures/Command');
const { stripIndents } = require('common-tags');
module.exports = class SettingHelpCommand extends Command {
constructor(client) {
super(client, {
name: 'setting-help',
group: 'util',
memberName: 'setting-help',
description: 'View help on how to set up settings.',
guarded: true
});
}
run(msg) {
return msg.say(stripIndents`
__**Settings**__
**Invite Guard:** Place \`<inviteguard>\` in a channel's topic.
**Mod Log Channel:** Place \`<modlog>\` in a channel's topic.
**Portal Channel:** Place \`<portal>\` in a channel's topic.
**Member Log Channel:** Place \`<memberlog>\` in a channel's topic.
**Custom Join Message:** Place \`<joinmessage>message</joinmessage>\` in the Member Log's topic.
**Custom Leave Message:** Place \`<leavemessage>message</leavemessage>\` in the Member Log's topic.
**Custom Mod DM:** Place \`<modmessage>message</modmessage>\` in the Mod Log's topic.
__**Placeholders**__
**Join/Leave Message:** \`{{member}}\`, \`{{server}}\`, \`{{mention}}\`
**Mod DM:** \`{{action}}\`, \`{{server}}\`, \`{{moderator}}\`
`);
}
};