Archived
changed private _list property to protected type
This commit is contained in:
1 parent
317b75d116
commit
f4ffe3dda7
1 file changed
+1
-1
@@ -2,7 +2,7 @@ import { applicationState } from "../state";
|
||||
import { BaseCommand } from "../structures/BaseCommand";
|
||||
|
||||
export class CommandManager {
|
||||
private readonly _list: BaseCommand[] = [];
|
||||
protected readonly _list: BaseCommand[] = [];
|
||||
|
||||
public get(q: string): BaseCommand | null {
|
||||
return this._list.find((c) => c.name === q) || null;
|
||||
|
||||
Reference in new issue
Block a user