- Create a simple message forwarding telegram bot
- Make combination specific whitelist and blacklist words
- Clone the project
git clone https://github.com/Ak4zh/conflux-clone
-
Change directory to the project directory
cd conflux-clone
-
Install the requirements
pip install -r requirements.txt
-
Create a new file
.env
inside the project directory. -
Now add your API_ID and API_HASH obtained from https://my.telegram.org/apps
TELEGRAM_API_ID=your-api-id
TELEGRAM_API_HASH=your-api-hash
- Now make changes in
settings.py
file as per your requirements.
Start the bot:
python main.py
If the is the first time you are running the bot it will ask you to enter your phone number and login code to generate a session for your account. All subsequent logins will run without the need to login again.