BlackJkee / NotPixelBot

Python bot for farming Not Pixel telegram bot.
https://t.me/BlackJkeeTools
Apache License 2.0
6 stars 1 forks source link

Why in proxy hi paste @ for : Help me pls) If start without proxy all okay #2

Closed Karimadze closed 1 day ago

Karimadze commented 1 day ago

Снимок экрана 2024-09-26 161358

Karimadze commented 1 day ago

I specified the proxy like this. "proxy": "socks5://AFR* : JM : 45.66.** : 5" "proxy": "type://user : pass : ip : port"

Karimadze commented 1 day ago

And i modified code in bot/utils/_init__.py from

from .logger import logger from . import launcher

import os

if not os.path.exists(path="sessions"): os.mkdir(path="sessions") to

from .logger import logger from . import launcher

import os

if not os.path.exists("sessions"): os.mkdir(path="sessions")

because he gived me this error

TgCrypto is missing! Pyrogram will work the same, but at a much slower speed. More info: https://docs.pyrogram.org/topics/speedups Traceback (most recent call last): File "e:\PyCharm Community Edition 2024.1.5\apps\NotPixelBot\main.py", line 5, in from bot.utils import logger File "e:\PyCharm Community Edition 2024.1.5\apps\NotPixelBot\bot\utils__init__.py", line 7, in if not os.path.exists(path="sessions"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: nt._path_exists() takes no keyword arguments

BlackJkee commented 1 day ago

Answered in the telegram channel.