First, I made radical changes in the project. I added 3 new libraries in the project. I did this to DB migrate and to check more. This was necessary to provide a better working environment while adding new features.
PR link: https://github.com/tolgahanuzun/Utopmod/pull/2
New Feature
I added a command that follows Steem-dollar exchange rate. This task warns you when the desired threshold value is reached.
Price task
This feature is meant to generate profits at high rates. It gives a signal according to a threshold value that you create.
You need to log in to the telegram bot. (/register username)
Make a threshold value. Like $ 5. (/price_task 5)
You can create only 1 task.
If you can delete the task. (/price_destroy)
- The bot checks a market value every 10 minutes. If it is above the threshold, it will send you a message.
It's an idea I got from friends in Discord. I also think that it will be helpful in myself.
Code
- New libraries have been added for database control. Provides more specific control.
- Database control now exists. (migrate) Added new table. This tabloda has price tasks.
- Two commands have been added to the telegram bot.
- price_task : Price allows you to set a threshold value..
- price_destroy: It will delete the task. (if like)
- Every 10 minutes it scans all the tasks in the database. A message is sent if there is a desired situation.
Idea proposal
I'm looking for new suggestions for a telegram bot.
Posted on Utopian.io - Rewarding Open Source Contributors