diff --git a/src/module/client.ts b/src/module/client.ts index 26b6cc2..daa64c7 100644 --- a/src/module/client.ts +++ b/src/module/client.ts @@ -39,8 +39,8 @@ export abstract class Client extends Emittery { public getBound(module: string): ModuleBagBound { return { - callModule: async (...args: any) => { - const ret = await this.callModule(module, ...args); + callModule: async (method: string, data?: any) => { + const ret = await callModule(module, method, data); this.handleError(ret); return ret;