fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
19 lines • 655 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const BaseMessage_1 = tslib_1.__importDefault(require("../BaseMessage"));
/**
* Represents a friend whisper message
*/
class BaseFriendMessage extends BaseMessage_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 = BaseFriendMessage;
//# sourceMappingURL=BaseFriendMessage.js.map