👻 Please follow me for new updates Dev.to | Github | Github Org
😉 Please join our discord server Discord
💫 Please have an interesting relationship with me Telegram | Email
This is a Discord Bot to post AI news from several telegram channels
- Monitor several Telegram channels for new content
- Post new content to a Discord channel
- Python
- Telethon
- Discord.py
-
Monitor Telegram Channels
- Uses Telethon to monitor Telegram channels
- Detects new content, images, and videos
-
Post to Discord channel
- Uses Discord.py to post new content to a Discord channel
pip install -r requirements.txt
Required environment variables:
API_ID = "Telelgram API ID"
API_HASH = "Telelgram API HASH"
DISCORD_TOKEN = "Discord Bot Token"
DISCORD_CHANNEL_ID = "Discord Channel ID"
python -m venv venv
source venv/bin/activate # Linux
venv/Scripts/activate # Windows
python main.py
- Fork the repository
- Create your feature branch (git checkout -b feature/AmazingFeature)
- Commit your changes (git commit -m 'Add some AmazingFeature')
- Push to the branch (git push origin feature/AmazingFeature)
- Open a Pull Request