mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +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:
@@ -9,6 +9,11 @@ const ReactionUserStore = require('../stores/ReactionUserStore');
|
||||
* Represents a reaction to a message.
|
||||
*/
|
||||
class MessageReaction {
|
||||
/**
|
||||
* @param {Client} client The instantiating client
|
||||
* @param {Object} data The data for the message reaction
|
||||
* @param {Message} message The message the reaction refers to
|
||||
*/
|
||||
constructor(client, data, message) {
|
||||
/**
|
||||
* The message that this reaction refers to
|
||||
|
||||
Reference in New Issue
Block a user