Skip to content

CentOS setup script for installing the necessary dependencies for a Telegram Message Forward Bot.

Notifications You must be signed in to change notification settings

amir-othman/centos-telegram-bot-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Telegram Message Forward Bot Setup Script 📜🤖

Welcome to the Telegram Message Forward Bot setup script repository! This script is designed to automate the installation of necessary dependencies for setting up a Telegram Message Forward Bot on CentOS systems.

Table of Contents

Introduction

This script will:

  1. Update CentOS repositories to use vault.centos.org 🏗️
  2. Set Google DNS for reliable DNS resolution 🌐
  3. Install nano editor ✍️
  4. Install git for cloning repositories 🛠️
  5. Install Python 3.8 🐍
  6. Install necessary Python modules for the Telegram Message Forward Bot, including requests, python-telegram-bot, and python-dotenv 📦
  7. Create necessary files and prompt for environment variables 📂
  8. Create a .env file with the provided environment variables 📝
  9. Create a pictures directory for storing images 🖼️

Prerequisites

Before running the script, ensure that you:

  • Are using a CentOS system 🖥️
  • Have superuser (sudo) privileges 🔐

Usage

  1. Clone the repository to your local machine:

    git clone https://github.com/amir-othman/telegram-message-forward-bot-setup.git
    cd telegram-message-forward-bot-setup
  2. Make the script executable:

    chmod +x setup.sh
  3. Run the script with sudo:

    sudo ./setup.sh
  4. Follow the prompts to enter the necessary environment variables.

Author

License

This project is licensed under the MIT License - see the LICENSE file for details.


This script was coded to set up all the modules for the Telegram Message Forward Bot. If you encounter any issues or have suggestions for improvements, feel free to open an issue or submit a pull request. Enjoy! 🎉

About

CentOS setup script for installing the necessary dependencies for a Telegram Message Forward Bot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages