robtic-discord-startup
Version:
easily set up a Discord bot with configurable settings
27 lines (21 loc) • 514 B
TypeScript
import { EmbedBuilder } from 'discord.js';
type FieldInput = {
name: string;
value: string;
inline?: boolean;
};
type EmbedType = "default" | "success" | "error" | "info" | "warning";
interface EmbedOptions {
title: string;
description: string;
fields?: FieldInput[];
thumbnail?: string;
image?: string;
type?: EmbedType;
}
declare class BaseEmbed {
private embed;
constructor(options: EmbedOptions);
get(): EmbedBuilder;
}
export { BaseEmbed };