Whoops, compiled the changes this time :P

This commit is contained in:
hydrabolt
2015-09-01 22:30:34 +01:00
parent 67edc5f5e6
commit 8d6ece0b35
6 changed files with 28 additions and 2 deletions

View File

@@ -4,6 +4,8 @@ var _createClass = (function () { function defineProperties(target, props) { for
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var PMChannel = require("./PMChannel.js");
var Message = (function () {
function Message(data, channel, mentions, author) {
_classCallCheck(this, Message);
@@ -64,6 +66,11 @@ var Message = (function () {
get: function get() {
return this.author;
}
}, {
key: "isPrivate",
get: function get() {
return this.channel.isPrivate;
}
}]);
return Message;