mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-18 01:07:22 +00:00
deprecate: Message#embed property
This commit is contained in:
@@ -10,7 +10,9 @@ export interface CreateMessage {
|
||||
content?: string;
|
||||
/** true if this is a TTS message */
|
||||
tts?: boolean;
|
||||
/** Embedded `rich` content */
|
||||
/** Embedded `rich` content
|
||||
* @deprecated will be removed in Discordeno v12 use embeds
|
||||
*/
|
||||
embed?: Embed;
|
||||
/** Embedded `rich` content (up to 6000 characters) */
|
||||
embeds?: Embed[];
|
||||
|
||||
@@ -8,7 +8,9 @@ import { MessageComponents } from "./components/message_components.ts";
|
||||
export interface EditMessage {
|
||||
/** The new message contents (up to 2000 characters) */
|
||||
content?: string | null;
|
||||
/** Embedded `rich` content */
|
||||
/** Embedded `rich` content
|
||||
* @deprecated will be removed in Discordeno v12 use embeds
|
||||
*/
|
||||
embed?: Embed | null;
|
||||
/** Embedded `rich` content (up to 6000 characters) */
|
||||
embeds?: Embed[] | null;
|
||||
|
||||
Reference in New Issue
Block a user