Welcome to the developer page of Tecfan's Telegram-Bot.
I wan to make this because i want to learn python, and i want to know what is the best way to make a bot.
I have twitter @enriquetecfan, if you want to follow me or ask me something about the bot.
Bienvenido a la página de desarrollo del Telegram-Bot de Tecfan.
Quiero hacer esto porque quiero aprender python, y quiero saber cual es la mejor manera de hacer un bot.
Tengo twitter @enriquetecfan, por si quieres seguirme o preguntarme algo sobre el bot.
The bot have this comands:
- /start: Starts the bot
- /price : Displays the price of a cryptocurrency
- /weather : Displays the weather of a city
- /metro: Displays the status of Madrid Metro lines
- /hour: Displays the current time
- /stonks: Displays stock prices
- /news: Displays economic news
- /bolsa: Displays stock market opening times
- /station: Displays my temperature station data
- /generate : Generates an image with the text we pass it.
El bot tiene estos comandos:
- /start: Inicia el bot
- /price : Muestra el precio de una criptomoneda
- /weather : Muestra el tiempo de una ciudad
- /metro: Muestra el estado de las líneas de Metro de Madrid
- /hora: Muestra la hora actual
- /stonks: Muestra los precios de las acciones
- /noticias: Muestra las noticias económicas
- /bolsa: Muestra los horarios de apertura de las bolsas
- /miestacion: Muestra los datos de mi estación de temperatura
- /generate : Genera una imagen con el texto que le pasemos
Tienes que ejecutar este comando:
docker build -t telegram-bot .
Y después, este:
docker run -d --restart=always --name telegram-bot telegram-bot
Y ya está, ya tienes el bot funcionando.
You have to execute this command:
docker build -t telegram-bot .
And then, this:
docker run -d --restart=always --name telegram-bot telegram-bot
And that's it, you have the bot working.