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.
-
So I expected that
discord.py-self
use the same way asdiscord.py
. According todiscord.py
documentation, I need to use something like belowBut
aiohttp
has deprecatedProxyConnector
class and seems like I cannot use the previous versions since there are other dependencies. I tried withaiohttp-proxy
module but that does not work.Also, I will be using multiple bots inside the same script using
asyncio
event loops. So I cannot just dowith connect(blah blah)
shitz as mentioned byaiohttp
new 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