Fixed options + message cache limit + server member count + leaving users

This commit is contained in:
abalabahaha
2016-03-10 22:16:05 -08:00
parent ef679e87c4
commit d2a9f15e82
8 changed files with 68 additions and 23 deletions

View File

@@ -30,7 +30,7 @@ var TextChannel = (function (_ServerChannel) {
this.topic = data.topic;
this.lastMessageID = data.last_message_id || data.lastMessageID;
this.messages = new _UtilCache2["default"]("id", client.options.maximumMessages);
this.messages = new _UtilCache2["default"]("id", client.options.maxCachedMessages);
}
/* warning! may return null */