const { Setting } = require('../../../../interfaces/'); class DehoistSetting extends Setting { constructor(client) { super(client, { name: 'dehoist', module: 'moderation', resolve: 'GUILD', default: { dehoist: { characters: ['!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '_', '-', '=', '+', '"', "'", '`', '\\', '/', '[', ']', '>', '<', '.'] } } }); } async handle(message, params) { return { msg: "fuck off", error: false }; } fields(guild) { return { name: "》Characters", value: `${guild._settings.dehoist.characters.map((d) => `\`${d === '`' ? `\`` : d}\``).join(', ')}` }; } } module.exports = DehoistSetting;