ᴀ ᴛᴇʟᴇɢʀᴀᴍ ʙᴏᴛ ᴛʜᴀᴛ ᴄᴏɴᴛʀᴏʟ ᴜsᴇʀ ɪᴅ ᴇғғᴏʀᴛʟᴇssʟʏ ᴡʜᴇᴛʜᴇʀ ɪᴛs Pʏʀᴏɢʀᴀᴍ ᴏʀ Tᴇʟᴇᴛʜᴏɴ (ᴜsᴇʀ sᴛʀɪɴɢ ᴏɴʟʏ)
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 user ids.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/stkeditz/DILXHACK && cd DILXHACK
- 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