/telegram-bot-test

Telegram bot for weather and counting (in Spanish).

Primary LanguagePythonOtherNOASSERTION

Telegram-Weather-and-Counting-bot-who-speaks-Spanish

Introduction

Telegram bot made with Python using python-telegram-bot.
Currently can check the weather and has a pretty counter with two buttons.

How to run

Needs a config.toml file in the same dir as main.py containing the fields BOT_TOKEN (your bot token) and WEATHER_API_KEY (your OpenWeatherMap API key).
Obviously needs Python too (Python 3.10 was used to make this).

Then, continue as follows:

Commands

NameDescription
/startComenzar bot
/climaConsultar el clima
/contarCrear un nuevo contador
/noRegresar al menu principal
/ceaseBorrar datos de usuario

Files

Here’s the bot.
that’s

Dependencies for this bot.

Utility script to set up a venv with the requirements to run this bot.
If you want to do it yourself, you’re free to.

Utility script to run the bot using the venv created by setup.py.
You can also do this yourself!