mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
docs: document constructors of extendible structures (#3160)
* docs: document constructors of extendible structures * docs(ClientPresence): document default value for data parameter Co-Authored-By: SpaceEEC <spaceeec@yahoo.com> * docs(Presence): document default value for data parameter Co-Authored-By: SpaceEEC <spaceeec@yahoo.com> * docs(DMChannel): capitalize DM in the constructor doc
This commit is contained in:
@@ -19,6 +19,11 @@ const APIMessage = require('./APIMessage');
|
||||
* @extends {Base}
|
||||
*/
|
||||
class Message extends Base {
|
||||
/**
|
||||
* @param {Client} client The instantiating client
|
||||
* @param {Object} data The data for the message
|
||||
* @param {TextChannel|DMChannel} channel The channel the message was sent in
|
||||
*/
|
||||
constructor(client, data, channel) {
|
||||
super(client);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user