Smart Telegram bot powered by Groq AI providing intelligent responses.
- 💬 Chat with AI in multiple languages
- 🔄 Automatic translation support
- 📊 Usage tracking system
- 👤 User management
- ⚙️ Easy configuration
- Python 3.8+
- Telegram Bot Token
- Groq API Key
- Admin Telegram Chat ID
- Clone this repository:
git clone https://github.com/KiworaID/Bot-Telegram-AI.git
cd Bot-Telegram-AI
- Install required dependencies:
pip install -r requirements.txt
- Copy
.env.example
to.env
and fill with your credentials:
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
GROQ_API_KEY=your_groq_api_key
ADMIN_CHAT_ID=your_admin_chat_id
- Run the bot:
python bot.py
- Start chatting with your bot on Telegram
-
Telegram Bot Token:
- Chat with @BotFather on Telegram
- Create new bot using
/newbot
command - Copy the provided token
-
Groq API Key:
- Register at Groq
- Create new API key
- Copy the API key
-
Admin Chat ID:
- Chat with @userinfobot on Telegram
- Copy the provided ID
- Reset usage statistics:
/reset_stats
(admin only) - View usage statistics:
/stats
(admin only)
Contributions are always welcome! Please feel free to submit a Pull Request or create an Issue.
This project is licensed under the MIT License - see the LICENSE file for details.