mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
docs: document the messages property for all TextBasedChannels (#2373)
* Document TextChannel#messages * Same for DMChannels * And GroupDMChannels
This commit is contained in:
@@ -34,6 +34,10 @@ const MessageStore = require('../stores/MessageStore');
|
||||
class GroupDMChannel extends Channel {
|
||||
constructor(client, data) {
|
||||
super(client, data);
|
||||
/**
|
||||
* A collection containing the messages sent to this channel
|
||||
* @type {MessageStore<Snowflake, Message>}
|
||||
*/
|
||||
this.messages = new MessageStore(this);
|
||||
this._typing = new Map();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user