Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.05 KB

File metadata and controls

26 lines (21 loc) · 1.05 KB

Video Tutorials

  1. Create a simple message forwarding telegram bot
  2. Make combination specific whitelist and blacklist words

Installation

  1. Clone the project
git clone https://github.com/Ak4zh/conflux-clone
  1. Change directory to the project directory cd conflux-clone

  2. Install the requirements pip install -r requirements.txt

  3. Create a new file .env inside the project directory.

  4. 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
  1. Now make changes in settings.py file as per your requirements.

Usage

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.