Skip to content

Modified by TheEmperorGh. Python bot for @cubesonthewater_bot telegram bot. Cubes?

Notifications You must be signed in to change notification settings

TheEmperorGh/CubesOnTheWaterBot

 
 

Repository files navigation

Static Badge

Static Badge

Static Badge

Recommendation before use

🔥🔥 Use PYTHON 3.10 🔥🔥

🇷 🇺 README in russian available here

Features

Feature Supported
Multithreading
Auto-main blocks
Auto-collect boxes from pool
Proxy binding to session
Auto referral
Support for tdata / pyrogram .session / telethon .session
Settings Description
API_ID / API_HASH Platform data from which to run the Telegram session (default - android)
TIME_BETWEEN_RECEIVING_BOXES Delay between collecting mystery boxes from pool (default [3600, 7200]
REF_ID Argument from referral bot link after ?start={argument}
USE_PROXY_FROM_FILE Whether to use a proxy from the bot/config/proxies.txt file (True / False)

Quick Start 📚

To fast install libraries and run bot - open run.bat on Windows or run.sh on Linux

Prerequisites

Before you begin, make sure you have the following installed:

Obtaining API Keys

  1. Go to my.telegram.org and log in using your phone number.
  2. Select "API development tools" and fill out the form to register a new application.
  3. Record the API_ID and API_HASH provided after registering your application in the .env file.

Installation

You can download the repository by cloning it to your system and installing the necessary dependencies:

git clone https://github.com/TheEmperorGh/CubesOnTheWaterBot.git
cd CubesOnTheWaterBot

Then you can do automatic installation by typing:

Windows:

run.bat

Linux:

run.sh

Linux manual installation

python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
cp .env-example .env
nano .env  # Here you must specify your API_ID and API_HASH, the rest is taken by default
python3 main.py

You can also use arguments for quick start, for example:

~/CubesOnTheWater_Bot >>> python3 main.py --action (1/2)
# Or
~/CubesOnTheWater_Bot >>> python3 main.py -a (1/2)

# 1 - Run clicker
# 2 - Creates a session

Windows manual installation

python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
copy .env-example .env
# Here you must specify your API_ID and API_HASH, the rest is taken by default
python main.py

You can also use arguments for quick start, for example:

~/CubesOnTheWater_Bot >>> python main.py --action (1/2)
# Or
~/CubesOnTheWater_Bot >>> python main.py -a (1/2)

# 1 - Run clicker
# 2 - Creates a session

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.9%
  • Shell 3.4%
  • Batchfile 2.8%
  • Dockerfile 0.9%