(name: string)
| 2468 | } |
| 2469 | |
| 2470 | #findCommandByName(name: string) { |
| 2471 | return this.program.commands.find( |
| 2472 | (command) => name === command.name() || command.aliases().includes(name), |
| 2473 | ); |
| 2474 | } |
| 2475 | |
| 2476 | async #loadCommandByName(commandName: string): Promise<Command | undefined> { |
| 2477 | if (this.#isCommand(commandName, this.#commands.build)) { |
no outgoing calls
no test coverage detected