From ed012383685eb63edcad1fc17447f06c0a68d01b Mon Sep 17 00:00:00 2001 From: Ahmed Date: Thu, 30 Nov 2023 14:12:36 +0200 Subject: [PATCH] Update Client.js update proxy-agent to version 5 --- src/client/Client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/Client.js b/src/client/Client.js index 89ae934..b8ec2ac 100644 --- a/src/client/Client.js +++ b/src/client/Client.js @@ -1024,7 +1024,7 @@ class Client extends BaseClient { typeof options.proxy === 'string' && testImportModule('proxy-agent') === false ) { - throw new Error('MISSING_MODULE', 'proxy-agent', 'npm install proxy-agent'); + throw new Error('MISSING_MODULE', 'proxy-agent', 'npm install proxy-agent@5'); } if (typeof options.shardCount !== 'number' || isNaN(options.shardCount) || options.shardCount < 1) { throw new TypeError('CLIENT_INVALID_OPTION', 'shardCount', 'a number greater than or equal to 1');