mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
add warning about which class to use for embeds (#1107)
* Update MessageEmbed.js * Update MessageEmbed.js
This commit is contained in:
committed by
Schuyler Cebulskie
parent
93d8ec3e87
commit
ff92905848
@@ -1,5 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* Represents an embed in a message (image/video preview, rich embed, etc.)
|
* Represents an embed in a message (image/video preview, rich embed, etc.)
|
||||||
|
* <info>This class is only used for *recieved* embeds. If you wish to send one, use the {@link RichEmbed} class.</info>
|
||||||
*/
|
*/
|
||||||
class MessageEmbed {
|
class MessageEmbed {
|
||||||
constructor(message, data) {
|
constructor(message, data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user