A telegram bot that control user id effortlessly whether its Pyrogram or Telethon (user string only)
API_ID
: Telegram API_ID, get it from my.telegram.org/appsAPI_HASH
: Telegram API_ID, get it from my.telegram.org/appsBOT_TOKEN
: A valid bot token, get it from @BotFatherSUDOERS
: Sudo ids (Example: 1357907531 2468097531 3579864213)MONGO_URL
: A Mongo Url for storing user ids, get it from cloud.mongodb.comLOG_GROUP_ID
: Your channel's or group's Telegram id (Example: -1001246808642)MUST_JOIN
: Telegram channel(username) for force subsDISABLED
: Menu names which you want to disable, without space (Example: a b j)
To deploy on a VPS, follow these steps
- Update and upgrade your system packages:
sudo apt-get update && sudo apt-get upgrade -y
- Clone the repository and navigate to the project directory:
git clone https://github.com/itzshukla/STRANGER-SESSION-HACK && cd SessionBot
- Install the required packages:
pip3 install -U -r requirements.txt
- Create .env using example.env
cp example.env .env
- Now open the .env file using vi .env
- Edit the vars, by pressing I on the keyboard
- After editing save the file using ctrl + c then :wq
- Run the script using Python 3:
python3 -m Hack