Replies: 4 comments
-
|
See my answer here: #109 (comment) |
Beta Was this translation helpful? Give feedback.
-
|
@dolfies for i in range(x):
client = Client(proxy=proxy_list[i])
loop.create_task(client.start(tokens[i]))
loop.run_forever()but getting |
Beta Was this translation helpful? Give feedback.
-
|
@pptx704 Did you find out a solution? |
Beta Was this translation helpful? Give feedback.
-
policy = asyncio.WindowsSelectorEventLoopPolicy()
asyncio.set_event_loop_policy(policy)This fixed my issue on Windows. I am using Python 3.9.7 and |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So I expected that
discord.py-selfuse the same way asdiscord.py. According todiscord.pydocumentation, I need to use something like belowBut
aiohttphas deprecatedProxyConnectorclass and seems like I cannot use the previous versions since there are other dependencies. I tried withaiohttp-proxymodule but that does not work.Also, I will be using multiple bots inside the same script using
asyncioevent loops. So I cannot just dowith connect(blah blah)shitz as mentioned byaiohttpnew docs.Is there any way to use selfbots using proxy? If so, how to do it?
Beta Was this translation helpful? Give feedback.
All reactions