mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 04:00:42 +00:00
add warning about which class to use for embeds (#1107)
* Update MessageEmbed.js * Update MessageEmbed.js
This commit is contained in:
parent
93d8ec3e87
commit
ff92905848
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue