Skip to content

Commit 1d9ae6d

Browse files
committed
fix: make commands public prop
1 parent f5ca145 commit 1d9ae6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/commandHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import {
2020
} from '../typings/index.js';
2121

2222
export class CommandHandler {
23+
public readonly commands: Map<string, Command>;
2324
private readonly client: CommanderClient;
24-
private readonly commands: Map<string, Command>;
2525
private readonly _categories: Map<string, Command[]>;
2626
private readonly commandData: CommandHandlerCommandData;
2727
private readonly callbacks: Readonly<CommandHandlerCallbacks>;

0 commit comments

Comments
 (0)