discord.js/src/structures
Programmix 5059c59a31 Message patching: clear mention collections (#1138)
* Message patching: clear mention collections

Fixes #1089
When discord sends an array of mentions, it is a full list of mentions -- therefore, we should clear the old mention collection. The same goes for when we re-analyze the message for channel mentions.

* Use Collection.clear() instead of new Collection
2017-01-29 19:02:54 +00:00
..
interface Add User.lastMessage, GuildMember.lastMessage and TextBasedChannel.lastMessage (#1135) 2017-01-26 21:24:08 +00:00
Channel.js Add snowflake utils (#1064) 2017-01-05 15:41:42 +00:00
ClientOAuth2Application.js Fix loads of JSDoc type issues 2016-11-12 20:52:37 -05:00
ClientUser.js add clientuser acceptinvite (#1081) 2017-01-14 21:25:12 +00:00
DMChannel.js Reestablish the natural order and heirarchy of all things 2016-12-30 16:19:15 -05:00
Emoji.js Add snowflake utils (#1064) 2017-01-05 15:41:42 +00:00
EvaluatedPermissions.js Fix loads of JSDoc type issues 2016-11-12 20:52:37 -05:00
GroupDMChannel.js Add snowflake utils (#1064) 2017-01-05 15:41:42 +00:00
Guild.js GuildMembersChunk packet handler hotfix (#1125) 2017-01-24 21:55:36 +00:00
GuildChannel.js check if a guildchannel is deletable (#1143) 2017-01-28 10:07:53 +00:00
GuildMember.js Add User.lastMessage, GuildMember.lastMessage and TextBasedChannel.lastMessage (#1135) 2017-01-26 21:24:08 +00:00
Invite.js Improved the definition of structures' client properties 2016-12-02 19:52:27 -05:00
Message.js Message patching: clear mention collections (#1138) 2017-01-29 19:02:54 +00:00
MessageAttachment.js Add snowflake utils (#1064) 2017-01-05 15:41:42 +00:00
MessageCollector.js Add snowflake utils (#1064) 2017-01-05 15:41:42 +00:00
MessageEmbed.js add warning about which class to use for embeds (#1107) 2017-01-18 10:55:06 -05:00
MessageReaction.js Add snowflake utils (#1064) 2017-01-05 15:41:42 +00:00
OAuth2Application.js Add snowflake utils (#1064) 2017-01-05 15:41:42 +00:00
PartialGuild.js Add snowflake utils (#1064) 2017-01-05 15:41:42 +00:00
PartialGuildChannel.js Add snowflake utils (#1064) 2017-01-05 15:41:42 +00:00
PermissionOverwrites.js Add snowflake utils (#1064) 2017-01-05 15:41:42 +00:00
Presence.js Equals updates (#987) 2016-12-14 17:10:34 -05:00
ReactionEmoji.js Add snowflake utils (#1064) 2017-01-05 15:41:42 +00:00
RichEmbed.js add color resolvable, and color constants from the client (#1080) 2017-01-12 18:43:22 +00:00
Role.js add color resolvable, and color constants from the client (#1080) 2017-01-12 18:43:22 +00:00
TextChannel.js Add snowflake utils (#1064) 2017-01-05 15:41:42 +00:00
User.js Add User.lastMessage, GuildMember.lastMessage and TextBasedChannel.lastMessage (#1135) 2017-01-26 21:24:08 +00:00
UserConnection.js Fix a bunch of capitalisation issues 2016-12-15 20:10:38 -05:00
UserProfile.js more profile stuff (#1131) 2017-01-24 21:53:26 +00:00
VoiceChannel.js VoiceChannel#full fix on no limit channel for joinable (#1106) 2017-01-16 23:36:29 -05:00
VoiceRegion.js add voice region getting (#1108) 2017-01-18 19:14:44 -05:00
Webhook.js Cleanup webhooks (#1094) 2017-01-13 18:48:12 +00:00