UNPKG

fnbr

Version:

A library to interact with Epic Games' Fortnite HTTP and XMPP services

19 lines 693 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const BaseFriendMessage_1 = tslib_1.__importDefault(require("./BaseFriendMessage")); /** * Represents a received friend whisper message */ class ReceivedFriendMessage extends BaseFriendMessage_1.default { /** * Replies to this whisper message * @param content The message that will be sent * @throws {FriendNotFoundError} The user is not friends with the client */ reply(content) { return this.client.friend.sendMessage(this.author.id, content); } } exports.default = ReceivedFriendMessage; //# sourceMappingURL=ReceivedFriendMessage.js.map