Skip to content

About

πŸ‘Ύ Bale Self Bot

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– ShayanSB β€” Bale Self-Bot

A feature-rich self-bot for the Bale messenger, built with the aiobale library.


✨ Features

🎁 Gift Receiver

Command Description
gift_on Enable automatic gift opening
gift_off Disable automatic gift opening

πŸ’¬ Chat Tools

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

πŸ‘₯ Member Management

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)

⏱ Scheduler

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

πŸ›  System

Command Description
ping Check bot latency
money Check wallet balance (admin only)
help_sb Show the command panel

πŸ“ Project Structure

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

βš™οΈ How It Works

  • Built on top of the aiobale library, 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 defaults dictionary.

⚠️ Disclaimer

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.


πŸ™ Credits

  • Built with aiobale by Amin Madani

Made with β˜• and curiosity β€” for fun, not for harm.

About

πŸ‘Ύ Bale Self Bot

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages