UNPKG

discord-webhook-library

Version:

A powerful and easy-to-use library for creating and sending richly formatted messages to Discord webhooks, with built-in validation and rate-limiting.

16 lines (15 loc) 363 B
export declare class Image { url: string; /** * Creates a new Image instance for an embed. * @param url The URL for the image. */ constructor(url: string); /** * Returns the JSON representation of the image. * @returns A plain object representing the image's payload. */ toJSON(): { url: string; }; }