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.
This script will:
- Update CentOS repositories to use
vault.centos.org
🏗️ - Set Google DNS for reliable DNS resolution 🌐
- Install
nano
editor ✍️ - Install
git
for cloning repositories 🛠️ - Install Python 3.8 🐍
- Install necessary Python modules for the Telegram Message Forward Bot, including
requests
,python-telegram-bot
, andpython-dotenv
📦 - Create necessary files and prompt for environment variables 📂
- Create a
.env
file with the provided environment variables 📝 - Create a
pictures
directory for storing images 🖼️
Before running the script, ensure that you:
- Are using a CentOS system 🖥️
- Have superuser (sudo) privileges 🔐
-
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
-
Make the script executable:
chmod +x setup.sh
-
Run the script with sudo:
sudo ./setup.sh
-
Follow the prompts to enter the necessary environment variables.
- Amir Othman - GitHub
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! 🎉