changed private _list property to protected type

This commit is contained in:
mmacierzanka committed 2021-09-07 00:09:13 +02:00
1 parent 317b75d116
commit f4ffe3dda7
1 file changed
+1 -1
+1 -1
View File
@@ -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;