@ayanaware/bentocord
Version:
Bentocord is a Bento plugin designed to rapidly build fully functional Discord Bots.
11 lines (10 loc) • 366 B
TypeScript
export interface Translatable {
/** Translation Key */
key: string;
/** Translation Replacements */
repl?: Record<string, unknown>;
/** String to use if key doesn't exist */
backup?: string;
}
/** Helper Type; Used to signify something might be translated or just a string */
export declare type PossiblyTranslatable = string | Translatable;