UNPKG

@sern/handler

Version:

A complete, customizable, typesafe, & reactive framework for discord bots.

15 lines (14 loc) 352 B
import type { Wrapper } from './types/utility'; /** * @since 1.0.0 * @param maybeWrapper Options to pass into sern. * Function to start the handler up * @example * ```ts title="src/index.ts" * Sern.init({ * commands: 'dist/commands', * events: 'dist/events', * }) * ``` */ export declare function init(maybeWrapper?: Wrapper): void;