mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Re-add VoiceChannel#members and messageUpdate to the documentation
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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() });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user