Closed mayed505 closed 8 years ago
its not a pronlem with proxies the code is bad
problem
@kurama129 i fixed it it ws a stupid protection by l3mpik that you had to add the number 3 at the begging of the bot nick but i removed that it was a stupid protection LMAO
@mayed505 can you tell me how exactly you fix that
if (typeof proxyServer === 'string') {
var AUTH = process.env.PROXY_AUTH || null;
if(parseInt(_im_p) === 3){var mode = 'socks';}
if (proxyServer.indexOf('socks') === 0) {
mode = 'socks';
}
change to
if (typeof proxyServer === 'string') {
var AUTH = process.env.PROXY_AUTH || null;
var mode = 'http';
if (proxyServer.indexOf('socks') === 0) {
mode = 'socks';
}
remove this also _im_p = name;
this doesnt exist in the code i have
if(parseInt(_im_p) === 3){var mode = 'socks';}
then your all good i guess ;) its in dist/bot.js
ok thanks bro :)
@CupidStunts i did that before i posted this :)
Stupid protection,lol lmao lol3 lol2,..Soo if u "pro" why u don't make script urself? hahha ^^
@l3mpik first, i was testing your script so i can decide whenever if i should use yours and add more features or code from scratch.....secondly,because i felt that project of the " 3 " was stupid why did you even added that?
as a protection so a million skids on youtube dont post it & claim that they made it for subs etc? thx l3mpik...it threw me off on what i was doing at the time lol ;) I appreciate the code mate
and you guys revelead it 😑 but its ok😀
btw how many bots you grt
@CupidStunts your removal code it wrong its.. var mode = 'socks'; and not var mode = 'http'; just saying that.
help me where can i get good proxies?