import { CommandsLoader } from "https://deno.land/x/harmony@v2.9.1/src/commands/mod.ts";
Constructors
new
CommandsLoader(client: CommandClient)Properties
client: CommandClient
Methods
Load a Command from file.
NOTE: Relative paths resolve from cwd
loadDirectory(path: string, options?: { exportName?: string; maxDepth?: number; exts?: string[]; onlyRead?: boolean; }): Promise<Command[]>
Load commands from a Directory.
NOTE: Relative paths resolve from cwd