• Load a command from the directory & filename.

    Parameters

    • path: string

      The path of the command folder.

    • name: string

      The name of the command including the extension.

    Returns Promise<SlashCommand>

    • The command itself.

Generated using TypeDoc