lilybird
Version:
A bun-first discord api wrapper written in TS
57 lines • 1.41 kB
TypeScript
import type { EmbedType } from "#enums";
export declare namespace Embed {
interface Structure {
title?: string;
type?: EmbedType;
description?: string;
url?: string;
timestamp?: string;
color?: number;
footer?: FooterStructure;
image?: ImageStructure;
thumbnail?: ThumbnailStructure;
video?: VideoStructure;
provider?: ProviderStructure;
author?: AuthorStructure;
fields?: Array<FieldStructure>;
}
interface ThumbnailStructure {
url: string;
proxy_url?: string;
height?: number;
width?: number;
}
interface VideoStructure {
url: string;
proxy_url?: string;
height?: number;
width?: number;
}
interface ImageStructure {
url: string;
proxy_url?: string;
height?: number;
width?: number;
}
interface ProviderStructure {
name?: string;
url?: string;
}
interface AuthorStructure {
name: string;
url?: string;
icon_url?: string;
proxy_icon_url?: string;
}
interface FooterStructure {
text: string;
icon_url?: string;
proxy_icon_url?: string;
}
interface FieldStructure {
name: string;
value: string;
inline?: boolean;
}
}
//# sourceMappingURL=embed.d.ts.map