An advanced AI-powered Telegram bot that specializes in cryptocurrency interactions with a unique Donald Toad character personality.
- 🤖 Character-based AI interactions in Donald Toad's distinctive style
- 📈 Real-time cryptocurrency price information
- 📊 Donald Toad Coin (DTC) statistics
- 🎮 Interactive games (guess the number, crypto trivia)
- 🔄 Self-healing with exponential backoff and error recovery
- 🖥️ Clean web interface for status monitoring
- Node.js 16.x or higher
- A Telegram Bot Token (get one from @BotFather)
-
Clone this repository
git clone https://github.com/yourusername/donald-toad-telegram-bot.git cd donald-toad-telegram-bot -
Install dependencies
npm install -
Create a
.envfile based on.env.examplecp .env.example .env -
Add your Telegram Bot Token to the
.envfileTELEGRAM_BOT_TOKEN=your_bot_token_here
Start the bot with:
npm start
For development with auto-restart:
npm run dev
This bot is optimized for deployment on Render:
- Create a new Web Service on Render
- Connect your GitHub repository
- Set the following configuration:
- Build Command:
npm install - Start Command:
npm start
- Build Command:
- Add the
TELEGRAM_BOT_TOKENenvironment variable in the Render dashboard - Deploy the service
The bot includes a health check endpoint at /health that will return a 200 OK status when the bot is running.
/start- Begin interaction with Donald Toad/help- Display help information/features- Show all available features/stats- Get Donald Toad Coin statistics
You can also ask about cryptocurrency prices or chat casually with the bot.
This project is licensed under the MIT License - see the LICENSE file for details.