diff --git a/src/client.ts b/src/client.ts index 3625064..925527c 100644 --- a/src/client.ts +++ b/src/client.ts @@ -17,6 +17,8 @@ export class Client { public auth?: string; + public agent: string = "pecans"; + public get messages(): MessagesModule { return this.#messages; } @@ -75,7 +77,7 @@ export class Client { headers: { "Content-Type": "application/json", "Cookie": "twocansandstring_com_auth2=" + this.auth, - "User-Agent": "pecans", + "User-Agent": this.agent, }, body: JSON.stringify(body), };