mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
Improve docs a bit
This commit is contained in:
@@ -12,13 +12,13 @@ class ReactionEmoji {
|
||||
this.reaction = reaction;
|
||||
|
||||
/**
|
||||
* The name of this reaction emoji.
|
||||
* The name of this reaction emoji
|
||||
* @type {string}
|
||||
*/
|
||||
this.name = name;
|
||||
|
||||
/**
|
||||
* The ID of this reaction emoji.
|
||||
* The ID of this reaction emoji
|
||||
* @type {?Snowflake}
|
||||
*/
|
||||
this.id = id;
|
||||
@@ -37,7 +37,7 @@ class ReactionEmoji {
|
||||
/**
|
||||
* Creates the text required to form a graphical emoji on Discord.
|
||||
* @example
|
||||
* // send the emoji used in a reaction to the channel the reaction is part of
|
||||
* // Send the emoji used in a reaction to the channel the reaction is part of
|
||||
* reaction.message.channel.sendMessage(`The emoji used is ${reaction.emoji}`);
|
||||
* @returns {string}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user