petyasoft / yescoin

soft for @theYescoin_bot
23 stars 2 forks source link

Iam understand #4

Open Towmasmd opened 3 months ago

Towmasmd commented 3 months ago

Which Python file do I activate it so that the bot works?

petyasoft commented 3 months ago

pip install -r requirements.txt

python main.py or python3.11 main.py

Towmasmd commented 3 months ago

What's the solve ????????

File "/storage/emulated/0/Python/play/main.py", line 34, in asyncio.get_event_loop().run_until_complete(main()) File "/data/data/com.termux/files/usr/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/storage/emulated/0/Python/play/main.py", line 13, in main await create_sessions() File "/storage/emulated/0/Python/play/utils/core/register.py", line 14, in create_sessions len_sessions = len(os.listdir(directory))

petyasoft commented 3 months ago

try in utils/core.register.py in 13 line write directory = "your_path" your_path = path to folder sessions

Towmasmd commented 3 months ago

Can you give me what the final code looks like because I don't understand what you mean?