Archived
added prefix and argumentSeparator to CommandManager
This commit is contained in:
1 parent
f705c6c896
commit
037a4a5999
1 file changed
+7
@@ -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 || ",";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user