Bot de Telegram desarrollado en Python con los siguientes comandos:
- /hora - Muestra la hora actual
- /saludo - Saluda al usuario por su nombre
- /propina - Calcula propinas al 10%, 15% y 20%
- Python 3
- pyTelegramBotAPI
- python-dotenv
- Clona el repositorio
- Instala las dependencias: pip install pyTelegramBotAPI python-dotenv
- Crea un archivo .env con tu token: TOKEN=tu_token_aqui
- Ejecuta: python bot.py
Telegram bot developed in Python with the following commands:
- /hora - Shows the current time
- /saludo - Greets the user by name
- /propina - Calculates tips at 10%, 15% and 20%
- Python 3
- pyTelegramBotAPI
- python-dotenv
- Clone the repository
- Install dependencies: pip install pyTelegramBotAPI python-dotenv
- Create a .env file with your token: TOKEN=your_token_here
- Run: python bot.py