merge
This commit is contained in:
parent
a278987cc2
commit
b796e3fe06
@ -16,7 +16,7 @@ class MassBanCommand extends Command {
|
||||
"@nolan#2887 @Navy.gif#1998 24h raiding the server"
|
||||
],
|
||||
restricted: true,
|
||||
hidden: true,
|
||||
archivable: false,
|
||||
arguments: [
|
||||
{
|
||||
name: 'points',
|
||||
|
@ -59,7 +59,8 @@ class SettingsCommand extends Command {
|
||||
|
||||
const type = !message.guild || args.user ? 'USER' : 'GUILD';
|
||||
if(type === 'GUILD') {
|
||||
const permissions = this.client.permissions.execute(message, message.command, ['ADMINISTRATOR', 'MANAGE_GUILD']);
|
||||
const permissions = await this.client.permissions.execute(message, message.command, ['ADMINISTRATOR', 'MANAGE_GUILD']);
|
||||
console.log(permissions);
|
||||
if(permissions.error) return message.respond(message.format('C_SETTINGS_MISSINGPERMISSIONS'), {
|
||||
emoji: 'failure'
|
||||
});
|
||||
|
@ -22,7 +22,8 @@ class MusicTasteCommand extends Command {
|
||||
default: true
|
||||
}
|
||||
],
|
||||
disabled: true
|
||||
disabled: true,
|
||||
archivable: false
|
||||
});
|
||||
|
||||
this.client = client;
|
||||
|
@ -23,7 +23,8 @@ class LockdownCommand extends Command {
|
||||
throttling: {
|
||||
usages: 2,
|
||||
duration: 10
|
||||
}
|
||||
},
|
||||
archivable: false
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -24,11 +24,6 @@ class UnbanCommand extends Command {
|
||||
type: 'BOOLEAN',
|
||||
types: ['FLAG'],
|
||||
default: true
|
||||
},
|
||||
{
|
||||
name: 'search',
|
||||
type: 'STRING',
|
||||
types: ['FLAG', 'VERBAL']
|
||||
}
|
||||
],
|
||||
guildOnly: true,
|
||||
@ -45,8 +40,6 @@ class UnbanCommand extends Command {
|
||||
|
||||
async execute(message, { qParams }) {
|
||||
|
||||
// TODO: Implement search of banlist
|
||||
|
||||
const { parsed, parameters } = await this.client.resolver.infinite(qParams, [
|
||||
this.client.resolver.resolveMember.bind(this.client.resolver),
|
||||
this.client.resolver.resolveUser.bind(this.client.resolver)
|
||||
|
@ -23,7 +23,8 @@ class UnlockdownCommand extends Command {
|
||||
throttling: {
|
||||
usages: 2,
|
||||
duration: 10
|
||||
}
|
||||
},
|
||||
archivable: false
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user