This commit is contained in:
Derrick Hammer 2023-03-24 16:47:43 -04:00
parent 23b97cbeff
commit e8ead4bb73
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 3 deletions

View File

@ -147,9 +147,9 @@ export const factory = function <T extends Client = Client>(
if (typeof prop !== "function") {
return prop;
}
if (desc?.get) {
return target[property as keyof T];
}
}
if (desc?.get) {
return target[property as keyof T];
}
return async (...args: any[]): Promise<any> => {
await target.loadLibs(module);