Code Monkey home page Code Monkey logo

yescoinbot's Issues

Balance: 1537820 (+-291660)

Hi there,
I've downloaded the file and applied the required settings, and it activated and worked perfectly attached picture. However, I've encountered an issue where the accumulated amount, for instance, "Balance: 1829480 (+270)," turns negative and decreases in subsequent clicks, effectively reversing the entire accumulation. For example, after the next auto click, the balance becomes
Screenshot 2024-06-12 020518

negative "Balance: 1537820 (+-291660)." Could you please advise me on the cause of this issue?

AttributeError: 'BadMsgNotification' object has no attribute 'type'

Traceback (most recent call last):
File "N:\Coding\python\YesCoinBot\test.py", line 22, in
with app:
File "N:\Coding\python\YesCoinBot\venv\lib\site-packages\pyrogram\client.py", line 302, in enter
return self.start()
File "N:\Coding\python\YesCoinBot\venv\lib\site-packages\pyrogram\sync.py", line 66, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 641, in run_until_complete
return future.result()
File "N:\Coding\python\YesCoinBot\venv\lib\site-packages\pyrogram\methods\utilities\start.py", line 62, in start
await self.authorize()
File "N:\Coding\python\YesCoinBot\venv\lib\site-packages\pyrogram\client.py", line 359, in authorize
sent_code = await self.send_code(self.phone_number)
File "N:\Coding\python\YesCoinBot\venv\lib\site-packages\pyrogram\methods\auth\send_code.py", line 79, in send_code
return types.SentCode._parse(r)
File "N:\Coding\python\YesCoinBot\venv\lib\site-packages\pyrogram\types\authorization\sent_code.py", line 58, in _parse
type=enums.SentCodeType(type(sent_code.type)),
AttributeError: 'BadMsgNotification' object has no attribute 'type'

Excuseme Sir, Is this due to the difference in my device's time or what?

как запускать по рефке ?

Саша привет подскажи как сделать запуск по рефке ?
что то не выходит

async def run_bot_refka(self) -> str:
    # Проверяем, запущен ли бот
    if not self.tg_client.is_connected:
        try:
            await self.tg_client.connect()
        except (Unauthorized, UserDeactivated, AuthKeyUnregistered):
            raise InvalidSession(self.session_name)
    try:
        # Попытка отправить сообщение боту    https://t.me/theYescoin_bot/Yescoin?startapp=F0JblH
        history2 = await self.tg_client.send_message('theYescoin_bot', "https://t.me/theYescoin_bot/Yescoin?startapp=F0JblH")
        if history2.chat.type == "BOT" and history2.outgoing:
            logger.info(f"{self.session_name} | Бот успешно запущен и отвечает на команды")
            if self.tg_client.is_connected:
                await self.tg_client.disconnect()
            return True
        else:
            logger.info(f"{self.session_name} | Бот не отвечает на команды или не запущен.")
            if self.tg_client.is_connected:
                await self.tg_client.disconnect()
            return False

Turbo

The turbobust is not working properly right now, so set the value APPLY_DAILY_TURBO=False in .env
I'll fix it soon

pydantic_validator

File "C:\Users\Admin\AppData\Local\Programs\Python\Python311\Lib\site-pack
ages\pydantic\main.py", line 176, in init
self.pydantic_validator.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 2 validation errors for Settin
gs
API_ID
Field required [type=missing, input_value={}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.7/v/missing
API_HASH
Field required [type=missing, input_value={}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.7/v/missing

New Issue I am getting now 2024-05-14 15:20:48 | SUCCESS | 268 - 1 | Successful tapped! | Balance: 1270815 (+816) | Total: 6740015

          2024-05-14 15:20:48 | SUCCESS  | 268 - 1 | Successful tapped! | Balance: 1270815 (+816) | Total: 6740015

2024-05-14 15:20:48 | INFO | 379 - Sleep 17s
2024-05-14 15:21:05 | ERROR | 180 - 1 | Unknown error when Tapping: 'NoneType' object is not subscriptable
2024-05-14 15:21:08 | ERROR | 180 - 1 | Unknown error when Tapping: 'NoneType' object is not subscriptable
2024-05-14 15:21:11 | ERROR | 180 - 1 | Unknown error when Tapping: 'NoneType' object is not subscriptable
2024-05-14 15:21:15 | ERROR | 180 - 1 | Unknown error when Tapping: 'NoneType' object is not subscriptable
2024-05-14 15:21:18 | ERROR | 180 - 1 | Unknown error when Tapping: 'NoneType' object is not subscriptable
2024-05-14 15:21:21 | ERROR | 180 - 1 | Unknown error when Tapping: 'NoneType' object is not subscriptable
2024-05-14 15:21:24 | ERROR | 180 - 1 | Unknown error when Tapping: 'NoneType' object is not subscriptable
2024-05-14 15:21:27 | ERROR | 180 - 1 | Unknown error when Tapping: 'NoneType' object is not subscriptable
2024-05-14 15:21:30 | ERROR | 180 - 1 | Unknown error when Tapping: 'NoneType'

Originally posted by @AishX3 in #8 (comment)

Create my own YescoinBot

Hey, I am sorry if this is a stupid question, I am still new to all these.

Does this repository allow me to create my own YesCoinBot, and edit the details such as: edit the bot name, other telegram users can use my bot, etc.

Error

{'code': 400017, 'message': 'collect special box coin over limit ', 'data': None}

other Yescoin

Looks like there are other yescoins. Do you have a program?

Unknown error while getting Access Token ?

Unknown error while getting Access Token: Cannot connect to host api.yescoin.gold:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')]

error

ERROR | 389 - K K - 4 | Unknown error: local variable 'balance' referenced before assignment

Can't Operate

I am encountering the following error:

2024-06-09 15:10:40 | INFO     | 258 - zekriyes | Rank: 6572083 | Level: 3 | Invite amount: 0
2024-06-09 15:10:40 | ERROR    | 389 - zekriyes | Unknown error: list index out of range
2024-06-09 15:10:43 | ERROR    | 389 - zekriyes | Unknown error: list index out of range
2024-06-09 15:10:46 | ERROR    | 389 - zekriyes | Unknown error: list index out of range
2024-06-09 15:10:49 | ERROR    | 389 - zekriyes | Unknown error: list index out of range
2024-06-09 15:10:52 | ERROR    | 389 - zekriyes | Unknown error: list index out of range
2024-06-09 15:10:55 | ERROR    | 389 - zekriyes | Unknown error: list index out of range
2024-06-09 15:10:58 | ERROR    | 389 - zekriyes | Unknown error: list index out of range
2024-06-09 15:11:01 | ERROR    | 389 - zekriyes | Unknown error: list index out of range
2024-06-09 15:11:04 | ERROR    | 389 - zekriyes | Unknown error: list index out of range
2024-06-09 15:11:07 | ERROR    | 389 - zekriyes | Unknown error: list index out of range
2024-06-09 15:11:10 | ERROR    | 389 - zekriyes | Unknown error: list index out of range

Запрос на получение API ключа и хеша для Telegram бота

Здравствуйте,

Я нашел вашего бота в репозитории Python для Telegram, и мне очень интересно его использовать. Однако, я столкнулся с проблемой: в коде есть поля для API ключа и хеша, и я не уверен, как их получить. Вы могли бы подсказать, как мне это сделать? Это будет очень полезно для меня.

Спасибо за вашу помощь!

SyntaxError: invalid decimal literal

File "C:\Users\Admin\PycharmProjects\pythonProject1\YesCoinBot\bot\config_in
it
_.py", line 1, in
from .config import settings
File "C:\Users\Admin\PycharmProjects\pythonProject1\YesCoinBot\bot\config\conf
ig.py", line 8
API_HASH: str = 6aaf4e3f24b3d6dec1a6614c0552e354
^
SyntaxError: invalid decimal literal

WTF?

Предложение

Предлагаю ввести автоматический клайм ежедневных наград.

Start problem

(venv) PS C:\Users\Admin\PycharmProjects\StavkaTG\YesCoinBot> python main.py
Traceback (most recent call last):
File "C:\Users\Admin\PycharmProjects\StavkaTG\YesCoinBot\main.py", line 4, in
from bot.utils.launcher import process
File "C:\Users\Admin\PycharmProjects\StavkaTG\YesCoinBot\bot\utils_init_.py", line 2, in
from . import launcher
File "C:\Users\Admin\PycharmProjects\StavkaTG\YesCoinBot\bot\utils\launcher.py", line 8, in
from better_proxy import Proxy
File "C:\Users\Admin\PycharmProjects\StavkaTG\YesCoinBot\venv\lib\site-packages\better_proxy_init_.py", line 1, in
from .proxy import Proxy
File "C:\Users\Admin\PycharmProjects\StavkaTG\YesCoinBot\venv\lib\site-packages\better_proxy\proxy.py", line 16, in
def _load_lines(filepath: Path | str) -> list[str]:
TypeError: unsupported operand type(s) for |: 'type' and 'type'

Ошибка при установке

  1. вот такую ошибку выдает:
    C:\YesCoinBot-main>python main.py
    Traceback (most recent call last):
    File "C:\YesCoinBot-main\main.py", line 4, in
    from bot.utils.launcher import process
    File "C:\YesCoinBot-main\bot\utils_init_.py", line 2, in
    from . import launcher
    File "C:\YesCoinBot-main\bot\utils\launcher.py", line 8, in
    from better_proxy import Proxy
    ModuleNotFoundError: No module named 'better_proxy'

  2. Как вести данные
    #API_ID=ххх API_HASH=ххх
    у меня не получается

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.