forked from Galactic/galactic-bot
43 lines
984 B
JavaScript
43 lines
984 B
JavaScript
const { Setting } = require('../../../../interfaces/');
|
|
|
|
class DisabledCommandsSetting extends Setting {
|
|
|
|
constructor(client) {
|
|
|
|
super(client, {
|
|
name: 'disabledCommands',
|
|
module: 'administration',
|
|
aliases: ['disabled', 'disableCommands', 'disableCommand', 'disableCmd', 'disableCmds', 'disabledCmds', 'disable'],
|
|
usage: "<+|-|list> [command..]",
|
|
resolve: 'GUILD',
|
|
default: {
|
|
disabledCommands: []
|
|
},
|
|
examples: [
|
|
'list',
|
|
'add command:ban',
|
|
'remove command:ban'
|
|
],
|
|
archivable: false
|
|
});
|
|
|
|
}
|
|
|
|
async handle(message, params) {
|
|
|
|
//NOTE: Todo, finish this.
|
|
|
|
}
|
|
|
|
fields(guild) {
|
|
return [
|
|
{
|
|
name: '》 Disabled Commands',
|
|
value: `\`uhhh\``
|
|
}
|
|
];
|
|
}
|
|
|
|
}
|
|
|
|
module.exports = DisabledCommandsSetting; |