A Discord-Telegram verification bot that provides secure server access through a two-step verification process. Users receive a verification code through Telegram and verify themselves in Discord to gain access to the server.
- 🔐 Secure two-step verification process
- 🤖 Integration with both Discord and Telegram
- 🎯 Automatic role assignment upon verification
- 📝 Customizable welcome messages
- 🔢 6-digit verification codes
- ⚡ Fast and easy to use
- Create a
.env
file with the following variables:
DISCORD_TOKEN=your_discord_bot_token
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
ROLE=your_discord_role_id
WELCOME_MESSAGE="Welcome {user}! You have been successfully verified! Enjoy your stay!"
- Install the required packages:
pip install -r requirements.txt
- Run the bot:
python main.py
-
Telegram:
- Find the Telegram bot and start a chat
- Type
/verify
to receive a verification code - You will receive a 6-digit code
-
Discord:
- Go to the Discord server
- Type
/code <your-6-digit-code>
- Upon successful verification, you'll receive the verified role
- Make sure the bot has proper permissions in your Discord server
- Set up the verified role ID in the
.env
file - Customize the welcome message as needed
- Python 3.8 or higher
- discord.py
- python-telegram-bot
- python-dotenv
If you encounter any issues or need help, please open an issue in the repository.
This project is licensed under the MIT License - see the LICENSE file for details