Webpack build for branch master: cff7069275

This commit is contained in:
Travis CI 2017-03-22 05:15:33 +00:00
parent d4505c3994
commit b92f654ecf
2 changed files with 7 additions and 7 deletions

View file

@ -3115,12 +3115,12 @@ class Message {
Object.defineProperty(this.mentions, 'members', { Object.defineProperty(this.mentions, 'members', {
get: () => { get: () => {
if (this.channel.type !== 'text') return null; if (this.channel.type !== 'text') return null;
const memberMentions = new Collection(); const members = new Collection();
for (const mention of this.mentions.users.values()) { this.mentions.users.forEach(user => {
const member = this.client.resolver.resolveGuildMember(this.guild, mention); const member = this.client.resolver.resolveGuildMember(this.guild, user);
if (member) memberMentions.set(member.id, member); if (member) members.set(member.id, member);
} });
return memberMentions; return members;
}, },
}); });

File diff suppressed because one or more lines are too long