diff --git a/src/client/WebClient.ts b/src/client/WebClient.ts index 3b60232..8dd3966 100644 --- a/src/client/WebClient.ts +++ b/src/client/WebClient.ts @@ -274,7 +274,9 @@ export class WebClient extends Client { }); const result = await this.client.post( - `${anon ? 'method.callAnon' : ''}/${encodeURIComponent(method)}`, + `${anon ? 'method.callAnon' : 'method.call'}/${encodeURIComponent( + method + )}`, { message, }