@ad1m/djb
Version:
A streamlined library for creating Discord bots with Discord.js, featuring a simple command and event handler structure.
15 lines (13 loc) • 420 B
TypeScript
declare class Logger {
private chalkTemplate;
constructor();
private loadChalkTemplate;
private formatTimestamp;
private log;
info(title?: string, message?: any): Promise<void>;
success(title?: string, message?: any): Promise<void>;
warn(title?: string, message?: any): Promise<void>;
error(title?: string, message?: any): Promise<void>;
}
declare const log: Logger;
export { log };