Re-add VoiceChannel#members and messageUpdate to the documentation

This commit is contained in:
Amish Shah
2017-09-05 11:16:56 +01:00
parent 87fa74acd4
commit 37d84b14f8
2 changed files with 8 additions and 0 deletions

View File

@@ -11,3 +11,10 @@ class MessageUpdateHandler extends AbstractHandler {
}
module.exports = MessageUpdateHandler;
/**
* Emitted whenever a message is updated - e.g. embed or content change.
* @event Client#messageUpdate
* @param {Message} oldMessage The message before the update
* @param {Message} newMessage The message after the update
*/

View File

@@ -13,6 +13,7 @@ class VoiceChannel extends GuildChannel {
/**
* The members in this voice channel
* @type {Collection<Snowflake, GuildMember>}
* @name VoiceChannel#members
*/
Object.defineProperty(this, 'members', { value: new Collection() });
}