An automated script/code made by @m3taphor on Python 3.10 for @bums or @bums_ton_bot, built using Bums app APIs. It supports multiple sessions through Pyrogram, with custom proxy support via an accounts.json
configuration file.
[!WARNING] Please be aware that using this script may result in your @bums account being banned due to violating terms of service (e.g., cheating). Use at your own risk. The author assumes no responsibility for any consequences.
[!WARNING] Please do NOT share your
API ID
&API HASH
to anyone.
App title
: Name your app (e.g., "My Telegram Bot").Short name
: A shorter version of your app's name.URL
: You can leave this blank or enter a website URL (optional).Platform
: Choose what kind of app you are developing (e.g., "Other").API ID
and API HASH
.Settings | Description (Usage) |
---|---|
API_ID / API_HASH | API Keys of telegram. Use to manage accounts, tutorial: (#obtain-telegram-api) |
SUPPORT_AUTHOR | Add random choice betweeb REF_KEY & AUTHOR REF_KEY (by default - True) |
REF_KEY | Start with refer, ID which is after startapp= (eg. ref_3CcrQyaN ) |
NIGHT_MODE | Script will sleep on Night hours (by default - False) |
NIGHT_TIME | [Night Mode]: Hours of sleep on UTC Timezone [start, end] (by default - [0, 7]) |
NIGHT_CHECKING | [Night Mode]: Delay (in seconds) to check if night hours are over (by default - [3600, 7200]) |
AUTO_UPGRADE_TAP_CARDS | Auto upgrade Tap Cards, increase profit faster (by default - True) |
JACKPOT_LEVEL | [Tap Card]: Maximum level for upgrading the Jackpot level card (by default - 9) |
CRIT_LEVEL | [Tap Card]: Maximum level for upgrading the Crit Multiplier card (by default - 8) |
ENERGY_LEVEL | [Tap Card]: Maximum level for upgrading the Max Energy card (by default - 12) |
TAP_LEVEL | [Tap Card]: Maximum level for upgrading the Tap Reward card (by default - 12) |
ENERGY_REGEN_LEVEL | [Tap Card]: Maximum level for upgrading the Energy Regen card (by default - 10) |
AUTO_UPGRADE_MINE_CARDS | Auto upgrade Mine Cards, increase profit per hour (default - True) |
MAX_CARD_PRICE_PURCHASE | [Mine Card]: Maximum amount of card purchase on Mine cards (by default - 10000) |
AUTO_TAP | Auto Tap/Click to collect coin (by default - True) |
TAPS_PER_BATCH | [Auto Tap]: How many taps per batch (by default - [15, 30]) |
DELAY_BETWEEN_TAPS | [Auto Tap]: Delay (in seconds) between per batch of taps (by default - [10, 20]) |
AUTO_TASK | Auto complete tasks (default - True) |
AUTO_JOIN_CHANNELS | Auto join telegram channels to complete task (default - True) |
AUTO_NAME_CHANGE | Auto update name (add emoji) to complete task (default - False) |
SLEEP_TIME | Sleep delay (in seconds) before restarting session again (default - [2700, 4200]) |
START_DELAY | Delay (in seconds) to start process (default - [5, 100]) |
IN_USE_SESSIONS_PATH | Path of text file for appending in-use session (default - 'bot/config/used_sessions.txt') |
[!IMPORTANT] Make sure you have only Python 3.10, or you will encounter errors.
Check the python version before installation
Windows OS
python -v
Linux OS
python3 —version
git clone https://github.com/m3taphor/Bums.git
run.bat
./run.sh
git clone https://github.com/m3taphor/Bums.git
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
copy .env-example .env
notepad .env
python main.py
git clone https://github.com/m3taphor/Bums.git
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
cp .env-example .env
nano .env
python3 main.py
[!TIP] Edit
.env
file before running script; Checkout (#env-management)
After the script is successfully installed, you will see two options:
If you don’t have a Pyrogram session for your Telegram account, select Option 2 to create one. You will need to enter your registered Telegram phone number, the login OTP sent to your Telegram account, and your 2FA password. This will save your Pyrogram session in a folder named sessions
[!WARNING] Do not share your session file with anyone, as it may lead to losing access to your Telegram account.
If you already have a existing Pyrogram session, simply place it in the sessions folder, then choose Option 1 (Run Bot) to start the mining or farming process.
You can manage your account or modify your proxy by editing the accounts.json
file located in the sessions folder.
Here’s an example of accounts.json
:
[
{
"session_name": "name_example",
"user_agent": "Mozilla/5.0 (Linux; Android 14) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.6422.165 Mobile Safari/537.36",
"proxy": "type://user:pass:ip:port" # "proxy": "" - if you dont use proxy
}
]
Distributed under the MIT License. The GNU General Public License is a free, copyleft license for software and other kinds of works.
More Info on LICENSE file.