added prefix and argumentSeparator to CommandManager

This commit is contained in:
mmacierzanka committed 2021-09-08 19:07:16 +02:00
1 parent f705c6c896
commit 037a4a5999
1 file changed
+7
+7
View File
@@ -2,4 +2,11 @@ import { BaseCommand } from "./BaseCommand.js";
export class CommandManager {
private readonly _commands: BaseCommand[] = [];
public readonly prefix?: string;
public readonly argumentSeparator: string;
constructor(prefix?: string, argSep?: string) {
this.prefix = prefix;
this.argumentSeparator = argSep || ",";
}
}