@ayanaware/bentocord
Version:
Bentocord is a Bento plugin designed to rapidly build fully functional Discord Bots.
13 lines (12 loc) • 762 B
TypeScript
import { AnyCommandContext } from '../commands/CommandContext';
import { PossiblyTranslatable } from '../interfaces/Translatable';
import { EmbedBuilder } from './EmbedBuilder';
export declare class LocalizedEmbedBuilder extends EmbedBuilder {
private readonly ctx;
constructor(ctx: AnyCommandContext);
setTranslatedTitle(title: PossiblyTranslatable): Promise<this>;
setTranslatedDescription(description: PossiblyTranslatable): Promise<this>;
setTranslatedAuthor(name: PossiblyTranslatable, url?: string, iconUrl?: string): Promise<this>;
addTranslatedField(name: PossiblyTranslatable, value?: PossiblyTranslatable, inline?: boolean): Promise<this>;
setTranslatedFooter(text: PossiblyTranslatable, iconUrl?: string): Promise<this>;
}