import { CommandsLoader } from "https://deno.land/x/harmony@v2.8.0/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?: { recursive?: boolean; exportName?: string; maxDepth?: number; exts?: string[]; onlyRead?: boolean; }): Promise<Command[]>
Load commands from a Directory.
NOTE: Relative paths resolve from cwd