Skip to content

Releases: Endogen/OpenCryptoBot

OpenCryptoBot 1.1.0

22 May 22:41
Compare
Choose a tag to compare

💥 IMPORTANT NOTICE 💥
I've changed the order in which coin symbols have to be provided. For example, if you want to know the price of Bitcoin in Euro, you don't write /p eur-btc anymore, but /p btc-eur!

Current Changes

  • Changed usage description for '/ev' command
  • Changed order in which the target symbol has to be added
  • Added command '/de' to check decentralization related data
  • Added API for 'arewedecentralizedyet'
  • Added some comments to methods
  • Beautifying CoinGecko API class
  • Simplified code for '/51' command
  • Better error handling if OHLC data isn't complete
  • Removed TODO since CoinGecko corrected OHLC data
  • Exported hardcoded SQL statements to file
  • Added hook to execute logic after plugin is loaded
  • Removed unused imports
  • Reworked how SQL statements and errors are handled
  • Changed 'execute_sql()' to return cleaner results and errors
  • Added new method to read sql statements for a command from file
  • Fixed bug where already existing repeater was still executed
  • Changed command string to always be lower case
  • Added better error handling if primary key constraint not met
  • Fixed stopping repeater after removal & correctly save chat_id
  • Added compression for 'update' object that we save in DB
  • Changed description of CoinGecko link in '/p' command
  • Added course of data for '/p' command
  • Adjusted CoinGecko API class to use features from Python 3.7
  • Changed function 'get_keywords' to not only return lower case strings
  • Simplified code for '/update' command a bit
  • Finished final vesion of '/ev' command to show events
  • Finalized '/top' command to show top 30 coins by market cap
  • Added new statistic query 'User Toplist' and properly end queries
  • Adjusted 'about' text and change Monero wallet address
  • Reworked '/p' command to show prices always at same starting position
  • Finalized '/tw' command to show latest Tweets from Twitter
  • Finalized '/re' command for repeating messages
  • Changed default setting for logging admins to TRUE
  • Added new commands and changed Monero donation address
  • Fixed reading Twitter tokens to get access to Twitter API
  • Small adjustment for '/ath' command
  • Added comments to methods in 'plugin' and 'database' classes
  • Added comments, removed unnecessary code and beautified '/re' cmd
  • Changed XMR donation qr-code
  • Completed '/re' command implementation
  • Added reading repeaters for DB for '/re' command
  • Changed order of code execution - makes more sense now
  • Added API for Crypto51 & new command '/51' to show cost of 51% attack
  • Fix inline mode for '/p' command
  • Fix '/bpmn' command
  • Fixed issued if there is no start / end data for ICOs
  • Restructured '/roi' command
  • Fixed '/help' command
  • Fixed '/feedback' command
  • Changed stats limit to display more data
  • Fix broken update notification if release notes include markdown
  • Fix handling of command links in '/team' command

New commands

/51 - PoW 51% attack cost
/de - Indicator for decentralization
/ev - List global crypto events
/man - Show how to use a command
/re - Send commands repeatedly
/top - List top 30 coins
/tw - Get newest Tweets

First official release

15 Mar 21:44
Compare
Choose a tag to compare
  • Changed qr-code for XMR donations
  • Changed syntax to load and unload plugins
  • Fixed exception in '/man' command because 'get_cmd()' doesn't exist anymore
  • Added possibility to convert config values to appropriate data type
  • Added hot-reloading for plugins and simplified alternative command handling
  • Added possibility to change config and send global message in '/admin' cmd
  • Added possibility to execute raw SQL statements on database
  • Removed markdown escaping for 'Language Toplist'
  • Implemented '/admin' command to return some stats
  • Added check to see if database use if enabled
  • Added method 'execute' to DB class so that plugins can execute sql
  • Put methods that are intended to be overridden in own class
  • Added BPMN diagram for '/ch' command
  • Fix error if initialized without DB and then DB activated
  • Added option to not save usage from admin users
  • Changed token handling so that there is only one token file
  • Updated 'Pipfile.lock'
  • Fixed getting bot name
  • Change how alternative command is defined
  • Moved loading plugin logic to plugin itself
  • Always show legend also for just one keyword in '/tr' command
  • Changed the way the bot should be started
  • Fixed '/restart' command to really do a restart if executed as a module
  • Added '/man' command for command info
  • Removed unnecessary emojis
  • Plugins now hold the 'telegrambot' object, not only 'db' and 'updater'
  • Added notification after bot restart successful
  • Added possibility to remove key from config
  • Added new '/admin' command
  • Show info is there is no ROI data
  • Fix for plotly 3.5.0 version
  • Adjusted syntax of command '/v' to be in line with other commands
  • Removed coin specific stuff in '/g' command
  • Added '/vol' command to return total volume info
  • Added possibility to provide target currency to '/ch' command
  • Added new '/mc' command for market cap
  • Added hardcoded fiat currency list
  • Added periodically checking for bot update on GitHub
  • Moved some constants to corresponding plugins / modules
  • Added text to '/start' command and moved text to markdown file
  • Reworked commands to show exception msg if API error happens
  • Reworked error handling for APIs
  • Finalized '/update' command
  • Better error handling for arguments in '/best' and '/worst'

Initial Release

12 Jan 20:57
Compare
Choose a tag to compare

The full set of commands is already integrated but most of them are not yet final