Parameters
- client: Client
- embed:
| {
colour?: null
| string;
description?: null | string;
icon_url?: null | string;
image?:
| null
| {
height: number;
size: "Large"
| "Preview";
url: string;
width: number;
};
original_url?: null
| string;
site_name?: null | string;
special?:
| null
| { type: "None" }
| { type: "GIF" }
| { id: string; timestamp?: null | string; type: "YouTube" }
| { content_type: "Channel"; id: string; type: "Lightspeed" }
| {
content_type: "Video" | "Channel" | "Clip";
id: string;
type: "Twitch";
}
| { content_type: string; id: string; type: "Spotify" }
| { type: "Soundcloud" }
| { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
| { album_id: string; track_id?: null | string; type: "AppleMusic" }
| { id: string; type: "Streamable" };
title?: null | string;
type: "Website";
url?: null | string;
video?: null | { height: number; url: string; width: number };
}
| {
height: number;
size: "Large"
| "Preview";
type: "Image";
url: string;
width: number;
}
| { height: number; type: "Video"; url: string; width: number }
| {
colour?: null | string;
description?: null | string;
icon_url?: null | string;
media?:
| null
| {
_id: string;
content_type: string;
deleted?: null
| boolean;
filename: string;
message_id?: null | string;
metadata:
| { type: "File" }
| { type: "Text" }
| { height: number; type: "Image"; width: number }
| { height: number; type: "Video"; width: number }
| { type: "Audio" };
object_id?: null | string;
reported?: null | boolean;
server_id?: null | string;
size: number;
tag: string;
user_id?: null | string;
};
title?: null
| string;
type: "Text";
url?: null | string;
}
| { type: "None" }- {
colour?: null | string;
description?: null | string;
icon_url?: null | string;
image?:
| null
| {
height: number;
size: "Large"
| "Preview";
url: string;
width: number;
};
original_url?: null
| string;
site_name?: null | string;
special?:
| null
| { type: "None" }
| { type: "GIF" }
| { id: string; timestamp?: null | string; type: "YouTube" }
| { content_type: "Channel"; id: string; type: "Lightspeed" }
| {
content_type: "Video" | "Channel" | "Clip";
id: string;
type: "Twitch";
}
| { content_type: string; id: string; type: "Spotify" }
| { type: "Soundcloud" }
| { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
| { album_id: string; track_id?: null | string; type: "AppleMusic" }
| { id: string; type: "Streamable" };
title?: null | string;
type: "Website";
url?: null | string;
video?: null | { height: number; url: string; width: number };
}Optional
colour?: null | string
Optional
description?: null | string
Optional
icon_url?: null | string
Optional
image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }
Optional
original_url?: null | string
Optional
site_name?: null | string
Optional
special?:
| null
| { type: "None" }
| { type: "GIF" }
| { id: string; timestamp?: null | string; type: "YouTube" }
| { content_type: "Channel"; id: string; type: "Lightspeed" }
| {
content_type: "Video" | "Channel" | "Clip";
id: string;
type: "Twitch";
}
| { content_type: string; id: string; type: "Spotify" }
| { type: "Soundcloud" }
| { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
| { album_id: string; track_id?: null | string; type: "AppleMusic" }
| { id: string; type: "Streamable" }
Optional
title?: null | string
type: "Website"
Optional
url?: null | string
Optional
video?: null | { height: number; url: string; width: number }
- {
height: number;
size: "Large" | "Preview";
type: "Image";
url: string;
width: number;
}height: number
size: "Large" | "Preview"
type: "Image"
url: string
width: number
- { height: number; type: "Video"; url: string; width: number }
height: number
type: "Video"
url: string
width: number
- {
colour?: null | string;
description?: null | string;
icon_url?: null | string;
media?:
| null
| {
_id: string;
content_type: string;
deleted?: null
| boolean;
filename: string;
message_id?: null | string;
metadata:
| { type: "File" }
| { type: "Text" }
| { height: number; type: "Image"; width: number }
| { height: number; type: "Video"; width: number }
| { type: "Audio" };
object_id?: null | string;
reported?: null | boolean;
server_id?: null | string;
size: number;
tag: string;
user_id?: null | string;
};
title?: null
| string;
type: "Text";
url?: null | string;
}Optional
colour?: null | string
Optional
description?: null | string
Optional
icon_url?: null | string
Optional
media?:
| null
| {
_id: string;
content_type: string;
deleted?: null
| boolean;
filename: string;
message_id?: null | string;
metadata:
| { type: "File" }
| { type: "Text" }
| { height: number; type: "Image"; width: number }
| { height: number; type: "Video"; width: number }
| { type: "Audio" };
object_id?: null | string;
reported?: null | boolean;
server_id?: null | string;
size: number;
tag: string;
user_id?: null | string;
}
Optional
title?: null | string
type: "Text"
Optional
url?: null | string
- { type: "None" }
Embed
Website Embed