На русском
Exchange-Robot – exchange rates telegram bot that searchs for currencies in your messages and converct it to multiple currencies. Funny fork of original ERTB to hide political things :D
An example of how the bot works:
Your message:
5 euro
Bot's answer:
🇪🇺5.0 EUR 🇨🇭5.39 CHF 🇮🇱19.73 ILS 🇺🇸6.06 USD
Bot run
By default, the bot is launched like this:
python3 ERTB.pyYou can also enable logging of messages and errors to the terminal:
python3 ERTB.py -l onor
python3 ERTB.py --logs on
Name | Argument | Value | Example | Default |
---|---|---|---|---|
Logging messages and errors to the terminal | --logs or -l |
on or off |
python3 ERTB.py --logs on |
off |
Adding an administrator for the bot | --admin or -a |
ID user | python3 ERTB.py --admin 123456789 |
missing |
Processing received messages on start | --updates or -u |
on or off |
python3 ERTB.py --updates on |
off |
Command | Command Description |
---|---|
/about |
Brief information about authors, version, source code and/or license. |
/help |
Help in using and configuring the bot. |
/settings |
Here you can set up a bot for your chat. |
/donate |
You can support the development of the bot with a dollar. |
/wrong |
Reply the message is incorrectly recognized. |
Command | Command Description |
---|---|
/echo |
Sending messages to all chats. After the command, you need to write the text that you want to send. |
/count |
Getting information about the number of bot users. You can use /count short for counting only in group chats |
/newadmin |
Add administror. /newadmin 123456789 |
/stats |
Getting information on the number of group and personal chats. |
/fullstats |
Obtaining information on the number of group and personal chats for the entire time, week and month. |
/backup |
Sends an archive with copies of databases. |
/unban |
Unban user by ID. /unban 123456789 |
- Python 3.7+ (Recommended 3.8.10)
- Aiogram 2.14+
- uvloop (may not be supported in Windows)
- ujson
- cchardet
- aiodns
- aiohttp[speedups]
- Numberize 1.0.1
- Requests 2.26.0