Auto-Telegram is a Python-based Pyrogram app designed to automate message sending on Telegram. It interact with Telegram's API, allowing you to create and manage custom commands for seamless message automation.
- Scheduled Messages: Schedule messages to be sent at specific times.
- Loop Messages: Send a series of messages in a loop.
- Casino Command: Send dice roll messages in a loop.
-
Clone the repository:
git clone https://github.com/Rul991/auto-telegram.git . -
Install the required dependencies:
pip install -r requirements.txt
-
Create a
.envfile in the root directory with the following content:API_ID = # api_id in my.telegram.org API_HASH = # api_hash in my.telegram.org PASSWORD = # your telegram's password PHONE = # your telegram's phone number APP_NAME = auto-telegram # name of app
-
Run the bot:
python main.py
-
Use the available commands:
.help: Show all available commands..loop <count> <texts>: Send a specified number of messages in a loop..delay <count> <delay in seconds> <message>: Schedule messages to be sent at specific intervals..casino: Send a casino dice.
You can configure the bot by modifying the .env file with your Telegram API credentials and other settings.
This project is licensed under the MIT License. See the LICENSE file for more details.