diff --git a/package.json b/package.json index 62620d9..7a1b16b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@squeebot/core", - "version": "3.3.7", + "version": "3.3.8", "description": "Squeebot v3 core for the execution environment", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/src/common/http.ts b/src/common/http.ts index 4a30f7f..7b1c568 100644 --- a/src/common/http.ts +++ b/src/common/http.ts @@ -29,7 +29,7 @@ export function httpGET( headers: { Accept: '*/*', 'Accept-Language': 'en-US', - 'User-Agent': 'Squeebot/Commons-3.0.0', + 'User-Agent': 'Squeebot/Commons-3.0.0 squeebot.visit@lunasqu.ee', }, host: parsed.hostname, path: `${parsed.pathname}${parsed.search}`, @@ -132,7 +132,7 @@ export function httpPOST( const opts: RequestOptions = { headers: { 'Content-Type': 'application/x-www-form-urlencoded', - 'User-Agent': 'Squeebot/Commons-3.0.0', + 'User-Agent': 'Squeebot/Commons-3.0.0 squeebot.visit@lunasqu.ee', }, host: parsed.host, method: 'POST',