Giter Site home page Giter Site logo

endogen / opencryptobot Goto Github PK

View Code? Open in Web Editor NEW
115.0 10.0 57.0 13.67 MB

Telegram bot to access various information about crypto-currencies

License: GNU Affero General Public License v3.0

Python 99.98% Shell 0.02%
crypto information telegram bot coin currency whale python3

opencryptobot's Issues

Unable to run the bot properly

  • the pip is out of date
    The python-telegram-bot version to be specific.
  • the API errors out frequently (possibly I'm doing something wrong)
    image
  • good config, what you don't need, simply don't add the entry for the same (but writing about this in the repo might help guide users)
  • I'm unable to run this bot with stability, it does run but maybe missing elements and errors being thrown or commands not working with no errors

Setup

Hi there,

I just saw your repo here and I was wondering if you have a little guide as well? I already looked into the code, added my telegram token etc. What file do I need to execute to start the bot?

Thanks for your help!

Is this still working? Receiving JSONDecodeErrors on any token

Exception in thread Thread-59: Traceback (most recent call last): File "C:\Users\xxxx\AppData\Local\Programs\Python\Python37-32\Lib\threading.py", line 917, in _bootstrap_inner self.run() File "C:\Users\xxxx\AppData\Local\Programs\Python\Python37-32\Lib\threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "I:\xxxxx\OpenCryptoBot-master\opencryptobot\plugins\chart.py", line 225, in _get_cmc_coin_id for listing in APICache.get_cmc_coin_list(): File "I:\xxxxx\OpenCryptoBot-master\opencryptobot\api\apicache.py", line 66, in get_cmc_coin_list return Market().listings()["data"] TypeError: 'JSONDecodeError' object is not subscriptable

The above error occurs with any coin check, even BTC.

Error

I was all good before today. But now I got an error when I was trying to start the BOT. Here it is:

Traceback (most recent call last): File "/root/.local/share/virtualenvs/OpenCryptoBot-GE5fekD8/lib/python3.7/site-packages/telegram/ext/jobqueue.py", line 245, in tick job.run(self.bot) File "/root/.local/share/virtualenvs/OpenCryptoBot-GE5fekD8/lib/python3.7/site-packages/telegram/ext/jobqueue.py", line 372, in run self.callback(bot, self) File "/root/OpenCryptoBot/opencryptobot/api/apicache.py", line 23, in refresh APICache.refresh_coinmarketcap_coin_list() File "/root/OpenCryptoBot/opencryptobot/api/apicache.py", line 39, in refresh_coinmarketcap_coin_list APICache.cmc_coin_list = Market().listings()["data"] TypeError: 'JSONDecodeError' object is not subscriptable

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.