A feature-rich self-bot for the Bale messenger, built with the aiobale library.
| Command | Description |
|---|---|
gift_on |
Enable automatic gift opening |
gift_off |
Disable automatic gift opening |
| Command | Description |
|---|---|
edit_chat |
Edit the last 50 messages sent by you to _ _ |
clear <n> |
Delete the last n messages in the chat |
num_id |
Show numeric ID of a user (reply or self) |
wikipedia <query> |
Search Persian Wikipedia |
font <text> |
Convert text to fancy Unicode font |
| Command | Description |
|---|---|
extract <n> |
Extract up to n members from the current group |
invite <n> |
Invite extracted members to the current group |
broadcast |
Send a broadcast message to all extracted members (reply to text) |
| Command | Description |
|---|---|
schedule <message> <minutes> <chat_id> [type] |
Schedule a repeating message |
unschedule <word> |
Remove a scheduled message |
scheduler_on |
Enable the scheduler |
scheduler_off |
Disable the scheduler |
| Command | Description |
|---|---|
ping |
Check bot latency |
money |
Check wallet balance (admin only) |
help_sb |
Show the command panel |
Self_Bot/
βββ bot.py # Main bot script
βββ config.json # Runtime configuration (auto-generated)
βββ schedules.json # Scheduled messages (auto-generated)
βββ members.txt # Extracted member IDs (auto-generated)
βββ session.bale # aiobale session file
βββ README.md # This file
- Built on top of the
aiobalelibrary, an async Python framework for the Bale messenger. - Uses your own account session (self-bot), so commands are executed as you, not as a separate bot.
- Configuration and schedules are persisted in JSON files.
- Member lists are stored in plain text (
members.txt), one numeric ID per line. - All admin commands are gated by
is_admin()β only the configured admin ID can use them. - Sensitive values (like the admin ID) are configured at the top of the script inside the
defaultsdictionary.
This project was created purely for educational and entertainment purposes.
Building, running, or distributing self-bots that automate a personal account may violate the Terms of Service of the Bale messenger and could be considered illegal in some jurisdictions.
Using this software may result in:
- Permanent or temporary suspension of your account
- Restriction of your messaging privileges
- Legal consequences depending on your country's laws
The author of this project does not condone, encourage, or take any responsibility for any misuse, account bans, or legal issues that arise from running this code.
- Built with
aiobaleby Amin Madani
Made with β and curiosity β for fun, not for harm.