Dollar Telegram Bot is an efficient tool designed to provide real-time information on the current exchange rates of Dollar and Euro in comparison to the Argentine Peso. Armed with intuitive commands, users can easily convert values between these currencies right within the Telegram interface.
- Real-Time Updates: Get the latest Dollar and Euro exchange rates instantly.
- Currency Conversion Commands: Perform quick and easy currency conversions.
- Telegram Integration: Access real-time currency information and conversions directly on Telegram.
- A Telegram account.
- Python installed on your local machine or server.
Create your own Telegram bot by following the official guide. Note down the API token provided.
Clone the Dollar Telegram Bot repository to your local machine or server.
Navigate to the project directory and install the required dependencies using the following command:
pip install -r requirements.txtSet the TELEGRAM_API_TOKEN environment variable with the API token you received when creating the Telegram bot. You can also set this token inside Github Secrets if you are deploying the bot on a GitHub platform.
python main.pyInteract with the Dollar Telegram Bot using the following commands for real-time currency information and conversions. Each command is designed to be user-friendly, offering instant responses directly within Telegram.
/dolar: Get the current exchange rate of US Dollar to Argentine Peso./euro: Obtain the real-time exchange rate of Euro to Argentine Peso./convert_to_dolares: Converts the specified Argentine Peso amount to US Dollars./convert_to_pesos: Converts the provided US Dollar amount to Argentine Pesos.
This bot was made only for fun, feel free to contribute!