javascript/features/playground/playground_commands.js
// Revokes the exception for |subject| to use the |commandName|.
Revokes the exception for |subject| to use the |commandName|.
Revokes the exception for |subject| to use the |commandName| .
async revokeCommandException(commandName, subject, player) {
        this.access_.removeException(commandName, subject, player );
        if (this.access_.getCommandLevel(commandName) != Player.LEVEL_MANAGEMENT) {
            this.announce_().announceToAdministrators(
                Message.LVP_ANNOUNCE_CMD_REMOVED_EXCEPTION, player.name, player.id, subject.name,
                commandName);
        }
        return await MessageBox.display(player, {
            title: 'The exception has been revoked!',
            message: '/' + commandName + ' is no longer available to ' + subject.name + '.'
        });
    }
async revokeCommandException ( commandName , subject , player ) { this . access_ . removeException ( commandName , subject , player ) ; if ( this . access_ . getCommandLevel ( commandName ) != Player . LEVEL_MANAGEMENT ) { this . announce_ ( ) . announceToAdministrators ( Message . LVP_ANNOUNCE_CMD_REMOVED_EXCEPTION , player . name , player . id , subject . name , commandName ) ; } return await MessageBox . display ( player , { title : 'The exception has been revoked!' , message : '/' + commandName + ' is no longer available to ' + subject . name + '.' } ) ; }
Revokes the exception for |subject| to use the |commandName|.
Revokes the exception for |subject| to use the |commandName| .
/* sourcePlayer */