Giter Club home page Giter Club logo

exchange-robot's Introduction

Exchange-Robot

На русском
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.py
You can also enable logging of messages and errors to the terminal:
python3 ERTB.py -l on
or

python3 ERTB.py --logs on

All arguments to run

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

List of commands for regular user

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.

List of commands in Telegram for developers/administrators

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

Requirements

  • 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

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.