fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
19 lines • 534 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const User_1 = tslib_1.__importDefault(require("./User"));
/**
* Represents a blocked user
*/
class BlockedUser extends User_1.default {
/**
* Unblocks this user
* @throws {UserNotFoundError} The user wasn't found
* @throws {EpicgamesAPIError}
*/
async unblock() {
return this.client.user.unblock(this.id);
}
}
exports.default = BlockedUser;
//# sourceMappingURL=BlockedUser.js.map