permissions fix
parent
74a32a6134
commit
98188a4b4b
|
@ -154,7 +154,7 @@ export default class Score extends Command {
|
|||
} else {
|
||||
embed.setFooter(this.client.user.username, this.client.user.avatarURL);
|
||||
}
|
||||
if (args[1] === 'hard') {
|
||||
if (args[1] === 'hard' && this.checkCustomPermissions(this.client.util.resolveMember(message.author.id, this.mainGuild), 6)) {
|
||||
await message.channel.createMessage({ embed });
|
||||
await message.channel.createMessage('***===BEGIN ADDITIONAL INFORMATION===***');
|
||||
await this.client.commands.get('whois').run(message, [user.id]);
|
||||
|
|
Loading…
Reference in New Issue