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