const { Command } = require('../../../../interfaces/'); const { stripIndents } = require('common-tags'); class GrantCommand extends Command { constructor(client) { super(client, { name: 'permissions', module: 'administration', usage: "", aliases: [ 'perms', 'permission', 'perm' ], examples: [ "Server Moderators", "@nolan#2887" ], memberPermissions: ['ADMINISTRATOR', 'MANAGE_SERVER'], guildOnly: true }); } async execute(message) { await message.guild.permissions(); message.respond(`\`\`\`js ${JSON.stringify(message.guild._permissions)}\`\`\``); } } module.exports = GrantCommand;