Webpack build for branch master: ea1949a0e2

This commit is contained in:
Travis CI 2017-09-04 03:30:08 +00:00
parent 02f82e2df9
commit 4e4c334ac8
2 changed files with 4 additions and 2 deletions

View file

@ -9052,10 +9052,12 @@ class MessageStore extends DataStore {
/**
* Fetches the pinned messages of this channel and returns a collection of them.
* <info>The returned Collection does not contain the reactions of the messages.
* Those need to be fetched seperately.</info>
* @returns {Promise<Collection<Snowflake, Message>>}
*/
fetchPinned() {
return this.client.api.channels[this.message.channel.id].pins.get().then(data => {
return this.client.api.channels[this.channel.id].pins.get().then(data => {
const messages = new Collection();
for (const message of data) messages.set(message.id, this.create(message));
return messages;

File diff suppressed because one or more lines are too long