dressed
Version:
A sleek, serverless-ready Discord bot framework.
14 lines (13 loc) • 424 B
TypeScript
import type { CommandData, ComponentData, EventData, ServerConfig } from "../../types/config.ts";
import bundleFiles from "./bundle.ts";
/**
* Builds the bot imports and other variables.
*/
export default function build(config?: ServerConfig, { bundle }?: {
bundle?: typeof bundleFiles;
}): Promise<{
commands: CommandData[];
components: ComponentData[];
events: EventData[];
config: ServerConfig;
}>;