Add User.lastMessage, GuildMember.lastMessage and TextBasedChannel.lastMessage (#1135)

* Add User.lastMessage

* User.lastMessage and GuildMember.lastMessage

* User, GuildMember and TextBasedChannel lastMessage

* Update MessageCreate.js
This commit is contained in:
Pg Biel
2017-01-26 19:24:08 -02:00
committed by Amish Shah
parent 87b600f78f
commit c7f5b44e03
4 changed files with 38 additions and 5 deletions

View File

@@ -20,6 +20,12 @@ class TextBasedChannel {
* @type {?Snowflake}
*/
this.lastMessageID = null;
/**
* The Message object of the last message in the channel, if one was sent.
* @type {?Message}
*/
this.lastMessage = null;
}
/**