Giter Club home page Giter Club logo

exchange-rates-tg-bot's Introduction

exchange-rates-tg-bot

IMPORTANT INFORMATION

This repository is NO LONGER SUPPORTED. Further updates of the bot are made with closed source code. Stay tuned for updates on our website: lanasys.dev

The ORIGINAL bot from the developers is here: ERTB. All other bots are not official forks, we do not guarantee the security of your data if you use other bots.


GitHub GitHub release (latest by date)
GitHub release (latest by date including pre-releases) GitHub release (latest by date including pre-releases)
open issues


Project information and manuals:


Requirements:

Versions are specified on which the bot was developed and tested

  • Python 3.10
  • Aiogram 2.25
  • uvloop 0.17.0 (not support at Windows)
  • ujson 5.7.0
  • cchardet 2.1.7
  • aiodns 3.0.0
  • aiohttp[speedups] 3.8.4
  • Requests 2.29.0
  • Pandas 2.0.1
  • zahlwort2num 0.4.2

Releases:

  • Last release of ERTB – ver. 3.0.0. You can download it here.
  • Previous release of ERTB – ver. 2.0.0. You can download it here.

Acknowledgments:

  • rotlir for translating the bot into Belarusian and adding currency and number recognition in this language.
  • jpzex for translating the bot interface into Portuguese (Brazilian).

exchange-rates-tg-bot's People

Contributors

4reeetr0 avatar doctorxameleon avatar uriyniklolzer avatar vladikko avatar volkovskey avatar yemchenko-dan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

exchange-rates-tg-bot's Issues

Self-Hosting problem | Updating ER failed

Good day, first of all - amazing bot! very useful for chats between my international friends!

I have problem with self-hosting it. It seems that fiat currencies don't seem to work, as well as settings for it. Might be the problem on my side but i can't figure it out, and couldn't find someone with the same error in Issues. Thank you in advance for your time!

  • Server: VPS
  • OS: Dockerized Python 3.10 (have also tried on bare machine)
  • Requirements: installed requirementsLinux.txt

I have Token.py file in the same directory as ERTB.py:

botToken="mytgapi"
apiKey="myapifromfixer"
botUsername="currencyted_bot"

When i go to logs, i see some messages regarding DB (i guess it's ok) and an error with Updating ER failed which i suppose is the root cause of the problem:

Service 0: Connected to main DB successfully.
Service 1: Main DB is OK.
Service 2: Connected to service DB successfully.
Service 3: Service DB is OK.
Service 4: Connected to stats DB successfully.
Service 5: Stats DB is OK.
Service 6: Updating of exchange rates has started.
Service 7: Updating of crypto rates has started.
Service 8: Backup Backups/backup-2023-09-14-11.22.27.zip created.
Error 0: Updating ER failed.
Warning 0: Using exchange rates from DB.
Service 9: Updating of crypto rates is successfull.
Service 10: Updating TON rate is successfull.
Service 11: Updating of crypto rates has started.
Service 12: Updating of crypto rates is successfull.

I have Dockerized this application, and I have tried hosting it on different machine not using Docker - same error. I have double checked api keys and everything seems to be correct.

What can I be missing here?

Suggestion: inline mode

Suggested feature: bot inline mode

Description

It would be great if you could add inline mode to the bot.

Example

Writing

@exchange_rates_vsk_bot 100 usd

in the text field of the message should result in an inline result with the text that the bot usually responds to the message "100 usd".

An even better syntax is possible by asking Telegram for a dedicated username for the bot:

@ertb 100 usd

Why is it useful

It will be useful to call the bot in private chats and groups where the bot is not added without switching chats.

Бот не отвечает после запуска

Сделал шаги которые написаны в руководстве, поставил зависимости, вписал токен, но после запуска он только обновляет курс валют и всё, дальше бот не отвечает ни на одно сообщение. В чём может быть проблема?

Проблема з конвертацією валюти. Зчитування данних з одного рядка

100 гривень 20 злотих ---> Хлопці, то несерйозна робота! Бот в цілому хороший, але коли я вводжу
100 гривень 20 злотих то в результаті отримую наступне:

🇵🇱20.00 PLN

...

🇺🇦20.00 UAH <--- тут мало бути 🇺🇦100.00 UAH
...

Короче самі все бачите. Повинні виправити, бо це несерйозно.

General users can't remove messages

Screenshot_20240113_141520_Telegram

Стоїть "Всі учасники", проте не дає видаляти для користувачів без адмінки. Це відтворюється у декількох людей, тобто не локальна проблема. Пробували також вимикати і вмикати знову через налаштування бота, не допомогло.

Якщо потрібен доступ до чату для дебагу — пінгуйте)

No work

Бот не работает

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.