mirror of
https://github.com/danbulant/discord.js
synced 2026-06-06 16:22:08 +00:00
Re-add VoiceChannel#members and messageUpdate to the documentation
This commit is contained in:
parent
87fa74acd4
commit
37d84b14f8
2 changed files with 8 additions and 0 deletions
|
|
@ -11,3 +11,10 @@ class MessageUpdateHandler extends AbstractHandler {
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = MessageUpdateHandler;
|
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
|
* The members in this voice channel
|
||||||
* @type {Collection<Snowflake, GuildMember>}
|
* @type {Collection<Snowflake, GuildMember>}
|
||||||
|
* @name VoiceChannel#members
|
||||||
*/
|
*/
|
||||||
Object.defineProperty(this, 'members', { value: new Collection() });
|
Object.defineProperty(this, 'members', { value: new Collection() });
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue